Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Rename serviceLocator to services #136

@bengourley

Description

@bengourley

serviceLocator is a bit verbose.

I think it'd be sensible to introduce the convention of calling it services (convention, rather than renaming the module, because it's up to the functions that accept it to give it a name) eg:

function createRoutes(services) {
  services.router.get('/', function (req, res) {
    services.logger.log('Serving /')
  })
}

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions