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

Include a sequence of names (@names) annotation for zio-config-magnolia #457

Closed
afsalthaj opened this issue Dec 1, 2020 · 0 comments
Closed
Labels
good first issue Good for newcomers

Comments

@afsalthaj
Copy link
Collaborator

As of now zio-config-magnolia supports custom names that avoids keeping the same name as that of case classes and objects.

For example:

sealed trait Region

@names(ap-southeast-2, australia, sydney) 
case object ApSouthEast2 extends Region

@names(useast, us-east)
case objet UsEast extends Region

This is a good first issue.

@afsalthaj afsalthaj added the good first issue Good for newcomers label Dec 1, 2020
jgoday added a commit to jgoday/zio-config that referenced this issue May 19, 2021
afsalthaj pushed a commit that referenced this issue May 23, 2021
…magnolia (#552)

* #457: Include a sequence of names (@NAMEs) annotation for zio-config-magnolia

* Fix lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant