express-graphql icon indicating copy to clipboard operation
express-graphql copied to clipboard

Graphql 16.2.0 support

Open st33fn opened this issue 3 years ago • 9 comments

Currently I'm facing the 'Could not resolve dependency' err upon installing the express-graphql. Any info on this?

Thanks guys!

st33fn avatar Dec 23 '21 19:12 st33fn

Hey, this is duplicate of #790. There is a PR #793 to fix that (among other things).

jnv avatar Jan 11 '22 10:01 jnv

I think its fair to say this project is no longer maintained, even with regular community PR's being made. Might be best to find an alternative, we are.

ste2425 avatar Jan 12 '22 11:01 ste2425

Is there an alternative solution? Working with node and express all Googling solutions always point to express-graphql. Trying to find a solution that doesn't require express-graphql or other dependencies. How do others use it? If everyone is depending on this library, we are all in trouble.

adviner avatar Jan 12 '22 16:01 adviner

My colleague reached out to maintainers on the community Discord and the good news is that there should be a new release soon-ish, so :crossed_fingers:.

I have also researched alternatives and I'd say the most promising one is graphql-helix, it's somewhat more minimal but also server-agnostic and there is pretty good tutorial to get it running with Express.

jnv avatar Jan 13 '22 08:01 jnv

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

{
  "express-graphql": "https://gitpkg.now.sh/GeorgesTech/express-graphql/npmDist?chore/graphql-16",
}

gitpkg.now.sh allow me to target npmDist folder during install

I do not plan to maintain the fork for a long time I hope the issue will resolve soon

In the meantime, renovate/dependabot is happy

romainPrignon avatar Jan 18 '22 09:01 romainPrignon

My colleague reached out to maintainers on the community Discord and the good news is that there should be a new release soon-ish, so 🤞.

I have also researched alternatives and I'd say the most promising one is graphql-helix, it's somewhat more minimal but also server-agnostic and there is pretty good tutorial to get it running with Express.

I made the switch from express-graphql to graphql-helix today. Quite straightforward.

dennisMeeQ avatar May 19 '22 06:05 dennisMeeQ

I moved to https://www.graphql-yoga.com/ V2 from https://www.the-guild.dev/

there is a migration path from express-graphql: https://www.graphql-yoga.com/docs/migration/migration-from-express-graphql The migration was easy for me. 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/express-graphql I'll keep the fork public for 1 month I'll delete it at the beginning of Jully

Happy migration :)

romainPrignon avatar May 30 '22 10:05 romainPrignon

For those interested, I also forked the project at https://github.com/BlueSialia/express-graphql.

The company I work at uses it for a project, so I will be maintaining it for a long while.

Be aware that I made some changes already to the library, so just replacing express-graphql with @bluesialia/express-graphql may not be enough in some cases.

BlueSialia avatar Oct 06 '22 11:10 BlueSialia

This library has been deprecated and this repo will be archived soon. It has been superseded by graphql-http.

Furthermore, if you seek a fully-featured, well-maintained and performant server - I heavily recommend GraphQL Yoga!

enisdenjo avatar Mar 20 '23 12:03 enisdenjo