Attach schema to JSON field and validate data by it on save #6372
MurzNN
announced in
Event Q&A Q3 2021
Replies: 3 comments
-
Thanks for the feature suggestion @MurzNN! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Having schema, we even can improve rendering of edit form in Admin UI, to convert simple plaintext textarea to multiple inputs of several types (string, number, array of strings, etc). |
Beta Was this translation helpful? Give feedback.
0 replies
-
@MurzNN we provided an answer to this question in the recent Q&A event: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
JSON fields are cool, but they are too nonrestrictive! So there are big changes to save non-valid JSON. To solve this problem will be good to implement JSON Schema support (attaching schema to field) and validation by it on backend. Yes, we can make this via custom code, but will be good to have it in core.
Beta Was this translation helpful? Give feedback.
All reactions