Closed pawcoding closed 1 month ago
Maybe you can try it out and let me know if it works for you. My initial tests seem promising so far.
Obviously nicer this way, thank you!
Works great for me. With and without jsonSchema
.
PS: One thing I noticed: It seems I get no console output / warning if a validation fails (but this might be unrelated to the json topic)
Great, then I will merge this to get object working 🚀
Normally the dev server should crash with error messages like this if the schema is wrong: | ||
---|---|---|
links.links has no external field |
version is an object and not a string |
Can you create a new issue for the missing validation with:
Then I can try to reproduce the problem locally and maybe find the bug.
Issues
Changes
unknown
instead ofobject
for json fields, since it otherwise only returns empty objectsjsonSchemas
option to add custom schema for json fields by users