graphql-codegen-persisted-query-ids icon indicating copy to clipboard operation
graphql-codegen-persisted-query-ids copied to clipboard

Chore: Upgrade dependencies and fix types

Open Brookke opened this issue 1 year ago • 2 comments

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

Brookke avatar Jul 13 '23 16:07 Brookke

Hey @esamattis would it be possible to get the following, reviewed, merged, and published? Or is this repo no longer maintained?

Brookke avatar Jul 13 '23 16:07 Brookke

@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.

gthau avatar Sep 12 '23 17:09 gthau

Apologies, the messages got lost in my work email. Released in v0.2.0 now.

esamattis avatar Jul 29 '24 11:07 esamattis