@@ -1957,10 +1957,18 @@ Following are examples of result coercion with various types and values:
1957
1957
| `[Int ]*` | `null ` | `null ` (With logged coercion error) |
1958
1958
| `[Int ]*` | `[1, 2, null ]` | `[1, 2, null ]` |
1959
1959
| `[Int ]*` | `[1, 2, Error ]` | `[1, 2, null ]` (With logged error) |
1960
+ | `[Int !]*` | `[1, 2, 3]` | `[1, 2, 3]` |
1961
+ | `[Int !]*` | `null ` | `null ` (With logged coercion error) |
1962
+ | `[Int !]*` | `[1, 2, null ]` | `null ` (With logged coercion error) |
1963
+ | `[Int !]*` | `[1, 2, Error ]` | `null ` (With logged error) |
1960
1964
| `[Int *]` | `[1, 2, 3]` | `[1, 2, 3]` |
1961
1965
| `[Int *]` | `null ` | `null ` |
1962
1966
| `[Int *]` | `[1, 2, null ]` | `[1, 2, null ]` (With logged coercion error) |
1963
1967
| `[Int *]` | `[1, 2, Error ]` | `[1, 2, null ]` (With logged error) |
1968
+ | `[Int *]!` | `[1, 2, 3]` | `[1, 2, 3]` |
1969
+ | `[Int *]!` | `null ` | Error : Value cannot be null |
1970
+ | `[Int *]!` | `[1, 2, null ]` | `[1, 2, null ]` (With logged coercion error) |
1971
+ | `[Int *]!` | `[1, 2, Error ]` | `[1, 2, null ]` (With logged error) |
1964
1972
| `[Int *]*` | `[1, 2, 3]` | `[1, 2, 3]` |
1965
1973
| `[Int *]*` | `null ` | `null ` (With logged coercion error) |
1966
1974
| `[Int *]*` | `[1, 2, null ]` | `[1, 2, null ]` (With logged coercion error) |
0 commit comments