Parse against input schema #1116
BrendanC23
started this conversation in
Ideas
Replies: 1 comment
-
Great idea! Unfortunately, this seems to be out of scope at the moment. But everyone should feel welcome to discuss this feature here and investigate how we could implement it. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if there was a way to parse against the input schema. Playground
This would be useful when saving draft data for an incomplete form. For example:
SchemaInput
unknown
form.setValues(jsonData)
, it needs to be of type SchemaInputCurrently, the final step is done with a cast (
jsonData as SchemaInput
), but it would be nice to explicitly validate this by parsing the object against the schema input type.Beta Was this translation helpful? Give feedback.
All reactions