We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Two generated validation methods (union, list and array rules) have been added to the generated classes:
union
list
array
validate{parameterName}ForUnionConstraintsFrom{setterMethodName}
validate{parameterName}ArrayValuesFrom{setterMethodName}
validate{parameterName}ForChoiceConstraintsFrom{setterMethodName}
Wouldn't it be better to extract them from the geenerated classes to the PackageBase project into a limited number of generic validation methods?
This way, it would be easier to implement new validation rules without having to update the generated classes nor the generator's validation rules.
The text was updated successfully, but these errors were encountered:
mikaelcom
No branches or pull requests
Two generated validation methods (
union
,list
andarray
rules) have been added to the generated classes:validate{parameterName}ForUnionConstraintsFrom{setterMethodName}
validate{parameterName}ArrayValuesFrom{setterMethodName}
validate{parameterName}ForChoiceConstraintsFrom{setterMethodName}
Wouldn't it be better to extract them from the geenerated classes to the PackageBase project into a limited number of generic validation methods?
This way, it would be easier to implement new validation rules without having to update the generated classes nor the generator's validation rules.
The text was updated successfully, but these errors were encountered: