Lighthouse php GraphQL Federation Issue - "Multiple Query types" error #2697
-
|
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! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Update |
Beta Was this translation helpful? Give feedback.
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