JSON Schema Support? #24
brophdawg11
started this conversation in
Ideas
Replies: 2 comments
-
I should probably say that I'm not certain I would opt-into any JSON Schema support. I just brought it up as a "prior art" to potentially look at for inspiration 😅 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I vote for letting this use case be outside the scope of this library (while also keeping it small and to the point 😊) |
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
-
@kentcdodds raised this in #21 (comment)
Curious where this might fit into this library (definition or validation) and if it's something that needs first party support or could be provided by utilities (potentially bundled with this library). Seems like we'd need some ways to go to and from
schema <-> formValidations
as well as a schema validation response and ourserverFormInfo
.This would provide:
ValidityState
That seems semi-reasonable - we don't necessarily deal with JSON schema anywhere in the core of this library - but it seems possible to convert to and from in spots as needed?
Beta Was this translation helpful? Give feedback.
All reactions