-
Notifications
You must be signed in to change notification settings - Fork 348
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
[V1] Object at path is not a service constructor (only last added grpc service is ran correctly) #7962
Comments
I made a reproduction branch: https://github.com/iamchanii/graphql-mesh/tree/issue-7962-failing-test Sorry for ping, @ardatan can you check this issue? I've run into this problem too, and it's the biggest issue preventing adoption |
We are also running into this same exact issue. It is blocking our ability to upgrade from v0 to v1 of GraphQL Mesh. I don't have much more to add since the test @iamchanii put together represents the exact issue we are seeing. |
After a few hours of debugging, here's what I found:
|
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Github,
Stackblitz
or
CodeSandbox
Describe the bug
graphql-mesh will only run the last, alphabetical, service correctly in v1 for GRPC services. Any other service will error with the message
Object at path xx.xxService is not a Service constructor
To Reproduce Steps to reproduce the behavior:
see: reproduction repository
Expected behavior
Every grpc service to properly be approachable through graphql-mesh
Environment:
-Packages:
"@graphql-hive/gateway": "^1.4.10",
"@graphql-mesh/compose-cli": "^1.1.9",
"@graphql-mesh/transport-grpc": "^0.0.1",
"@omnigraph/grpc": "^0.1.1",
"@omnigraph/openapi": "^0.107.5",
The text was updated successfully, but these errors were encountered: