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

omit default empty #90

Closed
Tishka17 opened this issue Apr 3, 2020 · 1 comment
Closed

omit default empty #90

Tishka17 opened this issue Apr 3, 2020 · 1 comment

Comments

@Tishka17
Copy link
Member

Tishka17 commented Apr 3, 2020

Sometimes omit_default is not safe enough. For example you can have constant type field.

It is better to have separate omit_default_empty option to omit only empty lists/dicts or Nones

@zhPavel
Copy link
Member

zhPavel commented Jun 8, 2024

This issue is generalized by #289

@zhPavel zhPavel closed this as completed Jun 8, 2024
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