Support for conditions on type aliases #928
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
subject: code generation
This issue is about code generation
Based on this contribution which adds syntactical support for conditions on type aliases, we should enhance our validator generator so it properly uses those conditions.
Example: let's say we want to define a
string
type that must have an odd number of characters and consists out of a specific configurable amount of words:This should:
MyAlias
andOtherAlias
,Foo
.Note that these alias conditions must be parameterized accordingly, so they will not implement the
Validator<String>
interface.Prerequisites:
The text was updated successfully, but these errors were encountered: