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

Fixed variable rewriter #3611

Merged
merged 3 commits into from
Apr 28, 2021
Merged

Fixed variable rewriter #3611

merged 3 commits into from
Apr 28, 2021

Conversation

PascalSenn
Copy link
Member

Arguments that were mixed between variables and literals were not correctly rewritter

query vehicleMakes($id: Uuid!) {
  vehicleMakes(where: 
    {
      and: [
        {id: {eq: $id}}
        {isDisabled: {eq: false}} # was null
      ]
    })

@PascalSenn PascalSenn added the 🎬 ready Ready to merge label Apr 27, 2021
@sonarcloud
Copy link

sonarcloud bot commented Apr 27, 2021

@michaelstaib michaelstaib merged commit 7156ab0 into main Apr 28, 2021
@michaelstaib michaelstaib deleted the pse/fix-variable-rewriter branch April 28, 2021 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants