regen-network / groups-ui

:rocket: UI for the Cosmos SDK group module
https://groups.regen.network
Apache License 2.0
6 stars 4 forks source link

Update graphql to latest version once supported in react-query #123

Open ryanchristo opened 1 year ago

ryanchristo commented 1 year ago

Ref: https://github.com/regen-network/groups-ui/issues/62#issuecomment-1654430012

Tracking issue for upgrading graphql-request from 5.0.0 to the latest major version.

As part of adding a graphql client, we have a small dependency which for some reason required being pinned 1 major version behind the latest. I don't think this is a major issue but a good thing to track for the future health of the groups-ui repo.

See this comment: https://github.com/regen-network/groups-ui/pull/112#discussion_r1276408464

Basically, with the combination of react-query + graphql-request, react-query asks us to use graphql-request v5x rather than v6x.

I think a good task for that at this stage could be simply to open an issue with react-query to specify what the plans are for supporting graphql-request v6x (investigate upgrade process for graphql-request).