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

Extend options to allow empty arrays and ignored properties #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mikegirard
Copy link

When building responses for REST List responses, an empty array is significant. So extended options to allow them to pass through.

Also added support for a simple-minded excludedProperties to prevent omitEmpty from traversing/processing specific properties. (Just in case you want to exclude something from processing due to weirdness in requirements.

@jvdownie
Copy link

jvdownie commented Apr 9, 2020

Any updates on this? I also have a similar use case. Thanks

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

Successfully merging this pull request may close these issues.

2 participants