Merge pull request #1324 from konsumer/master

add support for input and scalar defintiions (for graphql-tools schema)
This commit is contained in:
Zachary Yedidia 2020-02-09 00:18:09 -05:00 committed by GitHub
commit 2f45644d14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ detect:
filename: "\\.(gql|graphql)$"
rules:
- type: "\\b(?:(query|mutation|subscription|type|fragment|schema|union|on|extends?))\\b"
- type: "\\b(?:(query|mutation|subscription|type|input|scalar|fragment|schema|union|on|extends?))\\b"
# scalar types
- statement: "\\b(ID|Int|Float|Boolean|String|Datetime|Null)\\b"