@@ -1735,27 +1735,36 @@ input ExampleInputTagged @oneOf {
1735
1735
}
1736
1736
```
1737
1737
1738
- | Literal Value | Variables | Coerced Value |
1739
- | ------------------------ | ----------------------- | --------------------------------------------------- |
1740
- | `{ a : "abc" , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1741
- | `{ a : null , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1742
- | `{ a : null }` | `{}` | Error : Value for member field {a } must be non -null |
1743
- | `{ b : 123 }` | `{}` | `{ b : 123 }` |
1744
- | `{ a : $var , b : 123 }` | `{ var : null }` | Error : Exactly one key must be specified |
1745
- | `{ a : $var , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1746
- | `{ b : $var }` | `{ var : 123 }` | `{ b : 123 }` |
1747
- | `$var ` | `{ var : { b : 123 } }` | `{ b : 123 }` |
1748
- | `"abc123" ` | `{}` | Error : Incorrect value |
1749
- | `$var ` | `{ var : "abc123" } }` | Error : Incorrect value |
1750
- | `{ a : "abc" , b : "123" }` | `{}` | Error : Exactly one key must be specified |
1751
- | `{ b : "123" }` | `{}` | Error : Incorrect value for member field {b } |
1752
- | `{ a : "abc" }` | `{}` | `{ a : "abc" }` |
1753
- | `{ b : $var }` | `{}` | Error : Value for member field {b } must be specified |
1754
- | `$var ` | `{ var : { a : "abc" } }` | `{ a : "abc" }` |
1755
- | `{ a : "abc" , b : null }` | `{}` | Error : Exactly one key must be specified |
1756
- | `{ b : $var }` | `{ var : null }` | Error : Value for member field {b } must be non -null |
1757
- | `{ b : 123, c : "xyz" }` | `{}` | Error : Unexpected field {c } |
1758
- | `{ a : $a , b : $b }` | `{ a : "abc" }` | Error : Exactly one key must be specified |
1738
+ | Literal Value | Variables | Coerced Value |
1739
+ | ------------------------ | -------------------------------- | --------------------------------------------------- |
1740
+ | `{ a : "abc" , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1741
+ | `{ a : null , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1742
+ | `{ a : null , b : null }` | `{}` | Error : Exactly one key must be specified |
1743
+ | `{ a : null }` | `{}` | Error : Value for member field {a } must be non -null |
1744
+ | `{ b : 123 }` | `{}` | `{ b : 123 }` |
1745
+ | `{}` | `{}` | Error : Exactly one key must be specified |
1746
+ | `{ a : $a , b : 123 }` | `{ a : null }` | Error : Exactly one key must be specified |
1747
+ | `{ a : $a , b : 123 }` | `{}` | Error : Exactly one key must be specified |
1748
+ | `{ a : $a , b : $b }` | `{ a : "abc" }` | Error : Exactly one key must be specified |
1749
+ | `{ b : $b }` | `{ b : 123 }` | `{ b : 123 }` |
1750
+ | `$var ` | `{ var : { b : 123 } }` | `{ b : 123 }` |
1751
+ | `$var ` | `{ var : { a : "abc" , b : 123 } }` | Error : Exactly one key must be specified |
1752
+ | `$var ` | `{ var : { a : "abc" , b : null } }` | Error : Exactly one key must be specified |
1753
+ | `$var ` | `{ var : { a : null } }` | Error : Value for member field {a } must be non -null |
1754
+ | `$var ` | `{ var : {} }` | Error : Exactly one key must be specified |
1755
+ | `"abc123" ` | `{}` | Error : Incorrect value |
1756
+ | `$var ` | `{ var : "abc123" } }` | Error : Incorrect value |
1757
+ | `{ a : "abc" , b : "123" }` | `{}` | Error : Exactly one key must be specified |
1758
+ | `{ b : "123" }` | `{}` | Error : Incorrect value for member field {b } |
1759
+ | `$var ` | `{ var : { b : "abc" } }` | Error : Incorrect value for member field {b } |
1760
+ | `{ a : "abc" }` | `{}` | `{ a : "abc" }` |
1761
+ | `{ b : $b }` | `{}` | Error : Value for member field {b } must be specified |
1762
+ | `$var ` | `{ var : { a : "abc" } }` | `{ a : "abc" }` |
1763
+ | `{ a : "abc" , b : null }` | `{}` | Error : Exactly one key must be specified |
1764
+ | `{ b : $b }` | `{ b : null }` | Error : Value for member field {b } must be non -null |
1765
+ | `{ b : 123, c : "xyz" }` | `{}` | Error : Unexpected field {c } |
1766
+ | `$var ` | `{ var : { b : 123, c : "xyz" } }` | Error : Unexpected field {c } |
1767
+ | `{ a : $a , b : $b }` | `{ a : "abc" }` | Error : Exactly one key must be specified |
1759
1768
1760
1769
**Type Validation **
1761
1770
0 commit comments