maticzav / graphql-middleware

Split up your GraphQL resolvers in middleware functions
MIT License
1.15k stars 58 forks source link

Graphql 16 update #500

Closed romainPrignon closed 2 years ago

romainPrignon commented 2 years ago

I couldn't wait anymore, so I fork the project: https://github.com/GeorgesTech/graphql-middleware Changes: https://github.com/GeorgesTech/graphql-middleware/pull/1 And I used it like this:

{
  "graphql-middleware": "github:GeorgesTech/graphql-middleware#chore/graphql-16",
}

I do not plan to maintain the fork I hope the issue will resolve soon

In the meantime, renovate/dependabot is happy

l4j3b commented 2 years ago

Any updates on that one?

icazemier commented 2 years ago

+1

ghost commented 2 years ago

+1

romainPrignon commented 2 years ago

I moved to https://www.graphql-yoga.com/ V2 from https://www.the-guild.dev/ I just had to replace some middlewares with https://www.envelop.dev/ plugins also from the-guild

If you happened to use the fork: https://github.com/GeorgesTech/graphql-middleware I'll keep the fork public for 1 month I'll delete it at the beginning of Jully

Happy migration :)

Mark-Panda commented 2 years ago

any recent progress

curbol commented 2 years ago

Is there an alternative to graphql-middleware? this is a bit silly how long it's taking to update to graphql 16

simon-abbott commented 2 years ago

@curbol We just successfully replaced graphql-middleware with @graphql-tools/resolvers-composition.

farawaysouthwest commented 2 years ago

I cut a PR for this, we'll see what happens.

dimatill commented 2 years ago

https://github.com/dimatill/graphql-middleware/pull/556 now graphql-middleware supports graphql v16 🎉