-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
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
Automagic required and maxlength validation #152
Comments
Probably similar to what current validation callback does? |
What if you have Shouldn't |
I think, instead of silent fail, validation is essential. Should throw error. |
How can you determine whether or not the user wants to save an empty string?
I agree, this should never reach the server as it should be validated on the client. I'm happy to agree to disagree here. |
Automatic validation constraints:
required
validation usingnot null
maxlength
validation using column length(These have to be fetched from table schema and have to be cached)
The text was updated successfully, but these errors were encountered: