-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Validation of JSON Fields #16
Comments
Really need this. |
@idragon81 new issue opened here #19 |
These subfields are not included in the request and dont belong to the main resource therefore they cant be validated. Any suggestion on this? maybe make partial support for certain rules and do a frontend validation? |
@disitec Maybe frontend validation on some rules would work. Let me have a dig into how validation is handled inside Nova I might be able to get a concept working. On a side note would it be possible to send the data as an array instead of json_encoded e.g. $request->merge([
$requestAttribute => json_decode($request[$requestAttribute], true)
]); |
Added support via PR #26 |
Hi,
Seems like the JSON fields are not validated. Would be really great to support this.
Is this something you are planning to implement in the future?
Many Thanks,
Tom
The text was updated successfully, but these errors were encountered: