This is a repo for the purpose of reproducing an issue which causes only the last (alphabetically) grpc service added to work properly.
The alphabetically last grpc service will run properly, while the rest errors with the message:
Object at path xx.xxService is not a Service constructor
expected behaviour is that all services would run without issue.
How to run:
- start store-api and pet-api using node
node api.jsf.e on both api's - run
npm run startin the main directory - go to
localhost:4000/graphql - Try doing both GetAllPets and GetAllPetStores, this will return all petstores but error on petservice
- Rename the "Stores" service in
mesh.config.tsto "AStores" - restart & rebuild the mesh service
- retry step 4, this time the petstore will error with the same error