Error: variable `$intArg` of type `Int` cannot be used for argument `booleanArg` of type `Boolean` ╭─[0101_mismatched_variable_usage.graphql:3:21] │ 1 │ query intCannotGoIntoBoolean($intArg: Int) { │ ──────┬───── │ ╰─────── variable `$intArg` of type `Int` is declared here │ 3 │ booleanArgField(booleanArg: $intArg) │ ─────────┬───────── │ ╰─────────── variable `$intArg` used here ───╯ Error: variable `$booleanListArg` of type `[Boolean]` cannot be used for argument `booleanArg` of type `Boolean` ╭─[0101_mismatched_variable_usage.graphql:9:21] │ 7 │ query booleanListCannotGoIntoBoolean($booleanListArg: [Boolean]) { │ ─────────────┬──────────── │ ╰────────────── variable `$booleanListArg` of type `[Boolean]` is declared here │ 9 │ booleanArgField(booleanArg: $booleanListArg) │ ─────────────┬───────────── │ ╰─────────────── variable `$booleanListArg` used here ───╯ Error: variable `$booleanArg` of type `Boolean` cannot be used for argument `nonNullBooleanArg` of type `Boolean!` ╭─[0101_mismatched_variable_usage.graphql:15:28] │ 13 │ query booleanArgQuery($booleanArg: Boolean) { │ ──────────┬───────── │ ╰─────────── variable `$booleanArg` of type `Boolean` is declared here │ 15 │ nonNullBooleanArgField(nonNullBooleanArg: $booleanArg) │ ───────────────┬────────────── │ ╰──────────────── variable `$booleanArg` used here ────╯ Error: variable `$booleanList` of type `[Boolean]` cannot be used for argument `nonNullBooleanListArg` of type `[Boolean]!` ╭─[0101_mismatched_variable_usage.graphql:21:29] │ 19 │ query listToNonNullList($booleanList: [Boolean]) { │ ───────────┬─────────── │ ╰───────────── variable `$booleanList` of type `[Boolean]` is declared here │ 21 │ nonNullBooleanListField(nonNullBooleanListArg: $booleanList) │ ─────────────────┬───────────────── │ ╰─────────────────── variable `$booleanList` used here ────╯ Error: variable `$intArg` of type `Int` cannot be used for argument `nonNullIntArg` of type `Int!` ╭─[0101_mismatched_variable_usage.graphql:26:24] │ 26 │ nonNullIntArgField(nonNullIntArg: $intArg) │ ───────────┬────────── │ ╰──────────── variable `$intArg` used here │ 29 │ query fragmentNonNullIntArgField($intArg: Int) { │ ──────┬───── │ ╰─────── variable `$intArg` of type `Int` is declared here ────╯ Error: variable `$intArg` of type `Int` cannot be used for argument `nonNullIntArg` of type `Int!` ╭─[0101_mismatched_variable_usage.graphql:40:24] │ 40 │ nonNullIntArgField(nonNullIntArg: $intArg) │ ───────────┬────────── │ ╰──────────── variable `$intArg` used here │ 43 │ query doubleNestedFragmentNonNullIntArgField($intArg: Int) { │ ──────┬───── │ ╰─────── variable `$intArg` of type `Int` is declared here ────╯ Error: expected value of type Boolean, found a variable ╭─[0101_mismatched_variable_usage.graphql:51:50] │ 51 │ nonNullBooleanListField(nonNullBooleanListArg: [$intArg]) │ ───┬─── │ ╰───── provided value is a variable │ 63 │ nonNullBooleanListField(nonNullBooleanListArg: [Boolean]!): Boolean │ ─────┬──── │ ╰────── expected type declared here as Boolean ────╯