github dotansimha/graphql-code-generator @graphql-codegen/typescript-react-query@1.0.0

latest releases: release-1711538187754, @graphql-codegen/time@5.0.1, @graphql-codegen/client-preset@4.2.5...
3 years ago

Major Changes

  • b51712c: - Upgraded react-query to v3
    • Modified generated useQuery hooks to allow passing in of data type to be used with query data selectors
    • Reworked the mutations so that variables are passed in at mutate time and not at instantiation

Patch Changes

  • cda6ded: Make sure mutation variables are always optional

  • d98f507: Respect typesPrefix for generated types.

    Previously, the prefix was incorrectly applied to runtime hook names.

  • Updated dependencies [6429343]

  • Updated dependencies [fd5843a]

  • Updated dependencies [d75051f]

    • @graphql-codegen/visitor-plugin-common@1.17.22

Don't miss a new graphql-code-generator release

NewReleases is sending notifications on new releases.