mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-21 14:44:45 +00:00
add support for input and scalar defintiions (for graphql-tools schema)
This commit is contained in:
parent
2c219ba647
commit
26172b5101
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue