11# Validation
22
3- GraphQL service does not just verify if a request is syntactically correct, but also
3+ A GraphQL service does not just verify if a request is syntactically correct, but also
44ensures that it is unambiguous and mistake-free in the context of a given
55GraphQL schema.
66
@@ -13,8 +13,9 @@ Typically validation is performed in the context of a request immediately before
1313execution, however a GraphQL service may execute a request without explicitly
1414validating it if that exact same request is known to have been validated before.
1515For example: the request may be validated during development, provided it does
16- not later change. Any client-side or development-time
17- tool should report validation errors and not allow the
16+ not later change, or a service may validate a request once and memoize the
17+ result to avoid validating the same request again in the future. Any client-side
18+ or development-time tool should report validation errors and not allow the
1819formulation or execution of requests known to be invalid at that given point in
1920time.
2021
@@ -577,7 +578,7 @@ fragment conflictingDifferingResponses on Pet {
577578 - Let {selectionType} be the unwrapped result type of {selection}.
578579 - If {selectionType} is a scalar or enum:
579580 - The subselection set of that selection must be empty.
580- - If {selectionType} is an interface, union, object or list of those types :
581+ - If {selectionType} is an interface, union, or object :
581582 - The subselection set of that selection must NOT BE empty.
582583
583584** Explanatory Text**
0 commit comments