Packages
graphql_depth_check
1.0.0
Elixir library and Mix task that scans GraphQL query text in a CSV for selection depth and field count, with limits you set.
Current section
Files
Jump to
Current section
Files
graphql_depth_check
sample.csv
sample.csv
query_id,query
q1,{ a { b { c } } d }
q2,"query Q($id: ID!) {
user(id: $id) {
name
friends { name }
}
}"
q3,fragment F on T { x }
q4,"{ # { { { ignored
item(label: ""}}}"") { name }
}"
q5,{ a { b { c { d { e } } } } }
q6,{ a b c d e f g }
q7,{ a { b }
q8,"mutation { first: add(input: {x: 1}) { ...Parts ... on Result { ok } } }"