I have try to setup apollo server with apollo gateway and graphql-module.
This is my repo of this setup: Graphql Demo
The server is running success but problem come when call api.
My resolver
Query: {
me() {
return { id: '1', username: '@ava' };
},
},
My API call response:
The return value for API me is null. But it should return { id: ‘1’, username: ‘@ava’ }.
Could you pls take a look on this and give me an advice? Thank you so much.