Problem with multiple graphql resolver implementations in nestjs

前端 未结 1 963
臣服心动
臣服心动 2021-01-25 18:38

I just started learning NestJS and GraphQL. I started with a single resolver class UserResolver defined in UserModule. This class provides methods to

1条回答
  •  清酒与你
    2021-01-25 19:17

    Make sure that you import Query from @nestjs/graphql and not from @nestjs/common.

    0 讨论(0)
提交回复
热议问题