A GraphQL code generator plug-in that automatically generates utility functions for SWR.
Full Changelog: https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.8.3...v0.8.4
autogenSWRKey
and useSWRInfinite
(#204).Full Changelog: https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.8.1...v0.8.2
This release updates peer dependency of graphql package to < 17.0.0
.
v0.8.0 was deleted because it was wrongly packaged.
Full Changelog: https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.7.2...v0.8.0
This release fix a bug since in v0.7.0. The bug is that this plugin creates wrong import when useSWRInfinite
is enabled.
useSWRInfinite
statement by @eitoball in https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/pull/183
Full Changelog: https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.7.1...v0.7.2
This release limits peerDependency
of graphql to <16.0.0
, and it update some dependencies.
Full Changelog: https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.7.0...v0.7.1
This release updates for SWR version 1.0.x. You need to update swr when updating this package.
After update, you also need to re-generate your code such as graphql.ts
.
https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.6.1...v0.7.0
https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.6.0...v0.6.1
https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.5.4...v0.6.0
https://github.com/croutonn/graphql-codegen-plugin-typescript-swr/compare/v0.5.3...v0.5.4