question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support newer versions of graphql-middleware

See original GitHub issue

Hi,

I tried to use this package with graphql-middleware@4.x (latest) and I was getting an error, something like schema.validate is not a function. Then I saw on peerDependencies that you are supporting version below 2, which dates from 2 years ago.

Could we upgrade to newer versions of graphql-middleware? I can help with that.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
JCMaiscommented, Aug 5, 2020

@gajus this is already available at graphql-yup-middleware@next, I have not released it yet.

1reaction
gajuscommented, Aug 5, 2020

Any plans on executing this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

graphql-middleware - npm
Latest version : 6.1.33, last published: 3 months ago. Start using graphql-middleware in your project by running `npm i graphql-middleware`.
Read more >
Split up your GraphQL resolvers in middleware functions
NOTE: As of 5.0.0 graphql-middleware no longer supports GraphQL Yoga out of the box. ... We are keeping the docs as the reference...
Read more >
Migrating to v2.0 - Apollo GraphQL Docs
To learn how to migrate to 2.0 from version 1.0, please read the following guide. ... to using the new applyMiddleware API should...
Read more >
Implementing GraphQL Middleware - Totara Help
Global middleware declared on the endpoint we are using to execute the query (global_middleware)
Read more >
GraphQL Code Libraries, Tools and Services
requestParser: new RequestParser({ schema }), ... Minimal React hooks-first GraphQL client with a tiny bundle, SSR support and caching.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found