Skip to content
New issue

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

Support for default values in optional fields #9

Closed
giladarnold opened this issue Aug 16, 2017 · 1 comment
Closed

Support for default values in optional fields #9

giladarnold opened this issue Aug 16, 2017 · 1 comment

Comments

@giladarnold
Copy link

Afaict there is no such support. Basically, an entry default: <some-val> as part of an optional field definition, were the value corresponds to the field type. Happy to provide a patch for the Python library.

@rjbs
Copy link
Owner

rjbs commented Jan 25, 2020

Hi! Sorry to reply so very, very late.

Rx is meant only to validate, not alter, data. I think a feature like this would be out of scope.

@rjbs rjbs closed this as completed Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants