You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Renumber list items
* @OneOf input objects
* @OneOf fields
* Fix typos (thanks @eapache!)
* Much stricter validation for oneof literals (with examples)
* Add missing coercion rule
* Clearer wording of oneof coercion rule
* Add more examples for clarity
* Rename introspection fields to oneOf
* Oneof's now require exactly one field/argument, and non-nullable variables.
* Remove extraneous newline
* graphgl -> graphql
* Apply suggestions from @eapache's review
* Apply suggestions from code review
Co-authored-by: Michael Staib <[email protected]>
* Update spec/Section 3 -- Type System.md
* Remove Oneof Fields from spec
* Oneof -> OneOf
* Spellings
* Remove out of date example
* Rename __Type.oneOf to __Type.isOneOf
* Add a:null example
* Rewrite to avoid ambiguity of language
* Forbid 'extend input' from introducing the @OneOf directive
* Add yet more examples to the example coercion table
* Indicate `@oneOf` is a built-in directive
Co-authored-by: Shane Krueger <[email protected]>
* Update spec/Section 3 -- Type System.md
* remove OneOf-specific rule in favor of update to VariablesInAllowedPositions
for simplicity, this PR retains the same problems for variables with defaults that are fixed by strict All Variable Usages Are Allowed
* Clarify IsNonNullPosition algorithm
* Clarify OneOf examples
* Add more examples
* Null literal is separate
* Use 'execution error' and 'raise' rather than throw an error
* Update spec/Section 3 -- Type System.md
* Whitespace
Co-authored-by: Glen <[email protected]>
* Clarify algorithm
* Rename 'Tagged'
* editorial: define and link _OneOf Input Object_
* execution error -> request error (input coercion)
* Simplify and clarify OneOf Input Object additional coercion rules
* Clarity and correctness
* Simplify
* Use a colon
* Use the correct error for the situation
* Remove example which will not always fail until #1059 is adopted
* copy tweaks and remove redundant examples
* dedicated subsection
* rogue plural + links
* sp
* sp
---------
Co-authored-by: Michael Staib <[email protected]>
Co-authored-by: Shane Krueger <[email protected]>
Co-authored-by: Yaacov Rydzinski <[email protected]>
Co-authored-by: Glen <[email protected]>
Co-authored-by: Lee Byron <[email protected]>
0 commit comments