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

Split up your GraphQL resolvers in middleware functions

Results 54 graphql-middleware issues
Sort by recently updated
recently updated
newest added

Would it be possible to add to the FAQ how this middleware differs from Apollo Server new plugin system? There seems to be much overlap, hence it would be helpful...

kind/feature

I am not sure if my question is correct or if it is even possible. I am new to GraphQL and similar tools, so I am sorry for my silly...

kind/bug

Is there any way that I can extract the __typename of a resolver response in my middleware?

kind/question

I've been able to successfully apply middleware for fields, but when I try to apply one to a type resolver, it only applies the middleware to that type's field resolvers,...

kind/question

Rather than fragment replacements...

kind/feature

Hey guys, I just discovered this repository 😀 My idea is to extend a Dgraph API with additional directives and logic (like input validation), that I won't implement directly into...

kind/question

I'm calling `setMessage` trying to return `id` from the created message. But if there's an error I get the following message: > Cannot return null for non-nullable field Message.id. The...

kind/question

Hey, thanks for a great library! I was wondering if it's possible to blacklist instead of whitelisting queries/mutations? I.e. this is how we do it today: ```typescript export const authMiddleware...

kind/feature

# Problem defn When using GraphQL shield to apply rules across the schema, subscription rules are not executed for subscription subscribe operations. ## Issue The `applyMiddlewareToField` function does not take...

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...