We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There's this amazing tool to generate io-ts from json - https://transform.now.sh/json-to-io-ts
However it doesn't work with optional attributes. The current way (https://github.com/gcanti/io-ts#mixing-required-and-optional-props) of specifying partial is really complex / cumbersome. Could we support syntax like
const MyType = t.type({ requiredField: t.number, optionalField: t.optional(t.string) })
The text was updated successfully, but these errors were encountered:
I wish... (see #140)
Sorry, something went wrong.
awww :( That's too bad. Any workaround you would recommend?
No branches or pull requests
There's this amazing tool to generate io-ts from json - https://transform.now.sh/json-to-io-ts
However it doesn't work with optional attributes. The current way (https://github.com/gcanti/io-ts#mixing-required-and-optional-props) of specifying partial is really complex / cumbersome. Could we support syntax like
The text was updated successfully, but these errors were encountered: