Lighthouse php GraphQL Federation Issue - "Multiple Query types" error #2697
Answered
by
LuukOriginal
LuukOriginal
asked this question in
Q&A
|
Hello, I am getting this error when running
type UpsertUserRoleResult {
user: User,
query: Query # <-- These might be the issue
}Questions:
The federation build seems to interpret field references to Query type as duplicate type definitions. Feel free to ask if more context is needed. Any insights are appreciated! 🙏 |
Answered by
LuukOriginal
Jun 25, 2025
Replies: 1 comment
|
Update |
0 replies
Answer selected by
LuukOriginal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update
I managed to replicate it in the working project by just adding the type to the users object (not even using it) and it causes the error, I feel like this might be a bug, so I will have a look at the sourcecode and see if I can find something, if so I'll open an issue