Comments (4)
hey @carstenbaumhoegger!
thank you for such nice feedback! I have unfortunately not. I was thinking about it but couldn't find a meaningful API solution.
This package is based on forwardTo
property which is exposed by graphql-binding
as well as prisma-binding
. It's extremely easy to use this one as well. You can read more about it here https://github.com/prismagraphql/prisma-binding/blob/master/README.md#forwardto .
I would love to improve this package; therefore, if you have any idea of how we could make your case work with a general API I would be more than happy to hear it!
I hope this helps you solve your case.
from graphql-middleware-forward-binding.
@carstenbaumhoegger just added support for this, check out 30bfb4a!
from graphql-middleware-forward-binding.
hey @maticzav !
Sorry for my late response.
The changes you made are great!
I would have another usage for this selective forwarding but with some kind of "blacklisting". So instead of providing all queries and mutations that should be forwarded, I'd like to provide all, that should NOT be forwarded and handled by graphql-yoga
Do you know a solution for this problem?
Thanks in advance
Carsten
from graphql-middleware-forward-binding.
Hey man, sure thing! I am glad you like it Query
and Mutation
types and just removing the fields you donβt need.
I also think that we don't need explicit functionality for blacklisting because of this since it wouldn't make sense, at least that's what I think
You probably know how the rest of the implementation should work
from graphql-middleware-forward-binding.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-middleware-forward-binding.