-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
Allow changing root type names #2077
base: master
Are you sure you want to change the base?
Conversation
We should use native SDL for changing the name of the root types, see http://spec.graphql.org/draft/#sec-Schema |
Might be a bit out of my knowledge for Lighthouse and GraphQL. Could use some help if anyone is up for it. |
It is not that hard. Basically, somewhere in the schema definition - probably schema {
subscription: CustomSubscription
} This definition should be accessible in |
Marked this as a draft, as the implementation is not based upon SDL yet.
This is going to become trivial, the test schema can simply include a |
This PR allows us to change the root type names.
I am not sure how it should be tested whether actually changing the values work?
Reference talk: https://lighthouse-php.slack.com/archives/CB28A070S/p1645698178486249