Kitura / Kitura/CloudEnvironment

Allow obtaining a service without specifying its name.

Open
#1 0 comments 0 reactions 1 assignee Claimed by @youming-lin View on GitHub
DevOps
Dominant language
Swift
Stars
14
Forks
16
PR merge metrics
No merged PRs in 30d

Description

In other words, instead of:

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

You can simply do:

```swift
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.