-
Notifications
You must be signed in to change notification settings - Fork 59
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
Enum injection #101
Comments
We should have identical conversion capabilities as the Config API. Last I checked they were something like the following:
There's an order of precedence and if I recall correctly at least one supported more static factory pattern. |
I think this makes sense. |
Related with #114 |
Is it a duplicate of #100 ? |
Hi @ivanjunckes all, copying your requirement to #100, to keep it all centralized in one place; |
Hi guys,
These are the supported values:
java.lang.String
• java.lang.Long
• java.lang.Boolean
• java.util.Set<java.lang.String>
• javax.json.JsonValue.TRUE/FALSE
• javax.json.JsonString
• javax.json.JsonNumber
• javax.json.JsonArray
• javax.json.JsonObject
Shouldn't we also support Enum classes? Strings could be transformed to a Enum using valueOf if the injection point is an Enum class.
What do you guys think?
The text was updated successfully, but these errors were encountered: