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

Format "not" conjunction for JsonLogic export #155

Open
ymittal opened this issue Feb 20, 2020 · 2 comments
Open

Format "not" conjunction for JsonLogic export #155

ymittal opened this issue Feb 20, 2020 · 2 comments

Comments

@ymittal
Copy link

ymittal commented Feb 20, 2020

Is there a way to format the "NOT" conjunction for JsonLogic export? I think the relevant logic is here:

resultQuery = { "!": resultQuery };

@ukrbublik
Copy link
Owner

Yes, that is relevant logic.
I thought there is no need to customize export of "NOT".
Cause how else can it be formatted to JsonLogic?

@ukrbublik ukrbublik pinned this issue Mar 11, 2020
@ukrbublik ukrbublik unpinned this issue Mar 14, 2020
@multimeric
Copy link
Contributor

Yes, it's needed. For example if you are generating a query for an API that expects {"not": {}} instead of {"!": {}}

@ukrbublik ukrbublik reopened this Aug 21, 2022
@ukrbublik ukrbublik added this to the Export milestone Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants