Skip to content
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

Different Root Query name than 'Query' breaks federation sdl #32

Open
Bastianowicz opened this issue Jan 11, 2023 · 0 comments
Open

Different Root Query name than 'Query' breaks federation sdl #32

Bastianowicz opened this issue Jan 11, 2023 · 0 comments

Comments

@Bastianowicz
Copy link

Regarding the following line we experienced some trouble because the root of our subgraph is called RootQuery and not just Query. While this in general is no problem it is lacking some documentation. It took us quite some hours and the help of @margnusnordlander (issue) to figure this out.

Maybe this convention should be mentioned in the docs or could be dynamically adjusted to the defined query name.

if ($type->name === 'Query') {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant