When I change bean validation annotation (javax.validation.constraints.*) parameters on POJOs, validation changes are not reflected in the application unless I completely restart the SDM (SuperDevMode).
-- For example:
If I change
public class For {
@Size(min = 1)
private String bar;
}
to
public class For {
@Size(min = 200)
private String bar;
}
the Size limitiation will still be of 1 character (I would have expected a limitation of 200 chars) in the compiled __FooValidatorImpl, when I recompile the application (using the bookmarkable link).
Instead, for the changes to apply, I need to restart the SDM server completely (from within IntelliJ).
Is it a known limitation of the SDM? I expected the __FooValidatorImpl to be updated upon recompilation of the application.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment