doyensec / inql

InQL is a robust, open-source Burp Suite extension for advanced GraphQL testing, offering intuitive vulnerability detection, customizable scans, and seamless Burp integration.
https://doyensec.com/
Apache License 2.0
1.52k stars 156 forks source link

Fix presentation of non-nulls #76

Closed execveat closed 1 year ago

execveat commented 1 year ago

Non-nulls are handled incorrectly and as a result the exclamation mark is being put before the type, not after it. E.g. right now the InQL might generate a query:

query {
  continent(code:!ID) {
    code
  }
}

while the correct way would be:

query {
  continent(code: ID!) {
    code
  }
}
execveat commented 1 year ago

Fixed.