When having arguments of type List with non-nullable items, such as e.g. [String!],
the validation doesn't recognize a violation if I pass a list with null-values.
Steps to reproduce
Imagine having this schema:
type Query {
foo(arg: [String!]!): String!
bar(arg: [String!]): String!
}
Description
When having arguments of type
List
with non-nullable items, such as e.g.[String!]
, the validation doesn't recognize a violation if I pass a list with null-values.Steps to reproduce
Imagine having this schema:
and validating the following query:
Here a code sample.
Expected result
The validation should identify the violation and append it to the diagnostic list.
Actual result
The validation doesn't notice the violation, no such error in diagnostics. (also in version
0.11.3
)Environment
apollo-rs
crate: apollo-compiler