Multiple schemas #223
-
Is there a way to declare multiple graphQL endpoints? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 14 replies
-
No, what is your use case for this? My current philosophy for GraphQL is that it already functions as a way to combine endpoints into one common facade for your front-end so having multiple endpoints is a use-case I haven't actually seen before. It would be helpful if you elaborated a bit more on the why |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'd love to jump on this discussion, with more details about trying to custom-implement the multiple schemas on Implementing multiple external GQL APIs is one thing, but in our case we have a separate end-user and admin UI endpoints. Not going to argue that there may be better ways to do the separation than that. |
Beta Was this translation helpful? Give feedback.
-
Multi-Schema Support has been released in |
Beta Was this translation helpful? Give feedback.
-
Amazing! great work team, thanks very much for that |
Beta Was this translation helpful? Give feedback.
-
I heard somewhere it took you three years to finalise the implementation for this library to work? … and now you are just cranking out DX improvements weekly. Amazing work. Thank you so much! Can't wait to try this out. I'll try to finally figure out the paperwork I need for my company to sponsor this thing. |
Beta Was this translation helpful? Give feedback.
-
works fine :) nice feature ❤️ |
Beta Was this translation helpful? Give feedback.
-
Can confirm it works great. |
Beta Was this translation helpful? Give feedback.
Multi-Schema Support has been released in
gql.tada
1.6.0 (+@0no-co/graphqlsp@^0.12.0
).There's more information in the corresponding announcement devlog post: https://gql-tada.0no.co/devlog/2024-04-26