maticzav / graphql-shield

🛡 A GraphQL tool to ease the creation of permission layer.

Home Page:https://graphql-shield.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphql-middleware 4.0.2 compatibility

MikaStark opened this issue · comments

Bug report

  • I have checked other issues to make sure this is not a duplicate.

Describe the bug

It seems that graphql-shield is not compatible with graphql-middleware 4.0.2

To Reproduce

Clone this project : https://github.com/prisma/prisma-examples/tree/master/typescript/graphql-auth
Run the following commands

npm i graphql-middleware@latest
npm run dev

Expected behavior

Run without problems

Actual behaviour

It will crash with this sentence [ERROR] 14:11:41 Error: Type generator exists in middleware but is missing in Schema.

Hey @MikaStark 👋,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.

https://opencollective.com/graphql-shield

PS.: We offer priority support for all financial contributors. Don't forget to add priority label once you start contributing 😄

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.