Skip to content

@urql/core@6.0.4

Choose a tag to compare

@github-actions github-actions released this 05 Dec 04:45
Immutable release. Only release title and notes can be modified.
6953271

Patch Changes

  • Infer Variables from a typed document in GraphQLRequestParams and the Client's query, readQuery, subscription and mutation methods. Previously, the passed variables object 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 the execute function returned by useMutation. Untyped documents still infer Variables from the passed object
    Submitted by @Kretiss (See #3922)