Repository navigation
@urql/core@6.0.4
Immutable
release. Only release title and notes can be modified.
Patch Changes
- Infer
Variablesfrom a typed document inGraphQLRequestParamsand theClient'squery,readQuery,subscriptionandmutationmethods. Previously, the passedvariablesobject took precedence whenever it was assignable to the document's variables, so an object with an extra field, e.g. after a schema change, wasn't a type error. This matches theexecutefunction returned byuseMutation. Untyped documents still inferVariablesfrom the passed object
Submitted by @Kretiss (See #3922)