graphql-codegen-persisted-query-ids
graphql-codegen-persisted-query-ids copied to clipboard
Chore: Upgrade dependencies and fix types
This PR upgrades the outdated dependencies, and fixes any resulting problems. This should make it compatible with graphql-codegen/cli version 3 and upwards therefore fixing #10. I have tested locally and it works for me
Fixes: #10
Hey @esamattis would it be possible to get the following, reviewed, merged, and published? Or is this repo no longer maintained?
@Brookke if this repo is abandoned, we should consider forking it or asking The Guild if this plugin can be hosted in the codebase of graphql-codegen. I'm also looking at adding a feature to this repo (I have it working locally, haven't submitted the PR yet).
Regarding this PR: it drops support for graphql
version 14 and 15, correct? We can avoid dropping it if we use oldVisit
from @graphql-codegen/plugin-helpers
instead of visit
from graphql
. Then the visitor object passed to oldVisit
has to be slightly adapted.
Apologies, the messages got lost in my work email. Released in v0.2.0 now.