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
I am now trying to make migration in Grails, and here is my domain class:
class SomeDomain { String stringField EnumClass enumField static constraints = { stringField nullable: true, maxSize: 100 enumField nullable: true, maxSize: 100 } }
then if I auto generated diff groovy file,
It reflects the stringField's maxSize(100), but for enumField there are no constraints reflected such that it is of maxSize(255).
After the migration, the fields constraints should be 100.
the fields constraints are size of 255
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am now trying to make migration in Grails, and here is my domain class:
then if I auto generated diff groovy file,
It reflects the stringField's maxSize(100), but for enumField there are no constraints reflected such that it is of maxSize(255).
Task List
Steps to Reproduce
Expected Behaviour
After the migration, the fields constraints should be 100.
Actual Behaviour
the fields constraints are size of 255
Environment Information
| Groovy Version: 2.4.15
| JVM Version: 1.8.0_272
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
Example Application
The text was updated successfully, but these errors were encountered: