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

Replace field with default value if is null #2060

Closed
filipecmedeiros opened this issue Oct 6, 2022 · 2 comments
Closed

Replace field with default value if is null #2060

filipecmedeiros opened this issue Oct 6, 2022 · 2 comments
Labels

Comments

@filipecmedeiros
Copy link

No description provided.

@lafrech
Copy link
Member

lafrech commented Oct 6, 2022

You may specify load_default to indicate a default value for missing fields.

If your point is to consider null as missing, then this is what #1381 would allow you to customize.

@filipecmedeiros
Copy link
Author

I would like to turn a field sent as null into a default value, for example:

"some_field": null -> "some_field": 0

But I believe that #1381 would make it possible.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants