Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow obtaining a service without specifying its name. #1

Open
rfdickerson opened this issue Feb 8, 2017 · 0 comments
Open

Allow obtaining a service without specifying its name. #1

rfdickerson opened this issue Feb 8, 2017 · 0 comments
Assignees
Labels

Comments

@rfdickerson
Copy link
Contributor

In other words, instead of:

if let psqlService = ConfigurationManager.getPostgreSQLService("MyPostgreSQLService") {}

You can simply do:

if let psqlService = ConfigurationManager.getPostgreSQLService() {}

The rationale is that the majority of projects will only have a single database of that given type in the application that has been configured. So we should have this option available to them.

@rolivieri rolivieri changed the title Allow connecting to a service not require a serviceName Allow obtaining a service without specifying its name. Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants