-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only expose certian Queries/Mutations #1106
Comments
Ditto |
That seems crucial for any serious production use yes. Is there a way today to achieve something similar maybe by transforming the schema before feeding it to SOFA? |
We're currently doing this with graphql-tools as such:
|
To those who try to do this with Apollo federation, I managed to get this to work.
Then you pass the wrapped schema to Apollo server as usual |
Thanks everyone for commenting here |
We are contemplating using SOFA to generate an external REST API from our federated GraphQL API, but we want to be able to choose which queries/mutations we expose via the REST API. Is that possible with SOFA?
The text was updated successfully, but these errors were encountered: