tailcall icon indicating copy to clipboard operation
tailcall copied to clipboard

[draft] bug: `[Int]!` Validation Works for List but `[Int!]` Validation Fails for Inner Elements

Open laststylebender14 opened this issue 6 months ago • 1 comments

Current Behaviour:

The [Int]! validation works as expected, ensuring the list is non-null and allowing nullable items within it. The [Int!] validation does not enforce the non-null constraint on the elements within the list, allowing null values.

Expected behaviour:

Validation should enforce that:

For [Int]!, the list must be non-null, and its elements can be nullable. For [Int!], the list can be null but list is present then all elements within the list must be non-null.

laststylebender14 avatar Jul 27 '24 14:07 laststylebender14