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

Object matcher preserves null #310

Open
larsga opened this issue Sep 21, 2023 · 4 comments
Open

Object matcher preserves null #310

larsga opened this issue Sep 21, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@larsga
Copy link
Collaborator

larsga commented Sep 21, 2023

As pointed out in issue 308, while other operations filter out null values from objects, the:

{
  * : .
}

syntax does not. Should it?

If it should, what about {...} + {...}?

We need to figure out what the correct rule is here. Input welcome.

@larsga larsga added the enhancement New feature or request label Sep 21, 2023
@larsga larsga self-assigned this Sep 21, 2023
@likith187
Copy link

why is preserving null not made as an optional parameter when generating the transformed data? forgive me if it is already answered else where, couldn't find it

@larsga
Copy link
Collaborator Author

larsga commented Oct 23, 2023

It kind of is, in the sense that you can set the object filter.

@likith187
Copy link

I missed that one, thanks.

@saschahauke
Copy link

Do all other operations respect the filter? I had mixed results and could not figure why until i found this issue, so consistent behavior would be my preference. My only option now is to remove the filter.

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

No branches or pull requests

3 participants