You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are your thoughts on having a String value() default "" property that could be used to set an arbitrary schema (that must be valid JSON/YAML)? That would give support for alternate dialects with the annotation.
I'm not sure myself, but I wanted to mention it as a possibility.
I've provisionally added this to the 4.0 milestone, but we can decide not to do it and close it, or push it out of 4.0 if we're unsure or don't have time.
Discussed on the call today, on balance we think it's probably a good idea, it provides access to all of the possible schema options and sidesteps the lack of recursion in Java annotations.
We thought that an exception should probably be thrown at startup if the value is not well-formed JSON.
However, we don't think we have enough time to add it in this release, though as it's just adding a new annotation parameter it would be a good candidate for a future minor release.
What are your thoughts on having a
String value() default ""
property that could be used to set an arbitrary schema (that must be valid JSON/YAML)? That would give support for alternate dialects with the annotation.I'm not sure myself, but I wanted to mention it as a possibility.
Originally posted by @MikeEdgar in #601 (comment)
The text was updated successfully, but these errors were encountered: