Closed ValentinVignal closed 3 months ago
In https://tripss.github.io/nestjs-query/docs/introduction/example#wire-everything-up
there is a missing comma, it should be:
import { NestjsQueryGraphQLModule } from '@ptc-org/nestjs-query-graphql'; import { NestjsQueryTypeOrmModule } from '@ptc-org/nestjs-query-typeorm'; import { Module } from '@nestjs/common'; import { TodoItemCreateDTO } from './todo-item.create.dto'; import { TodoItemDTO } from './todo-item.dto'; import { TodoItemEntity } from './todo-item.entity'; @Module({ imports: [ NestjsQueryGraphQLModule.forFeature({ // import the NestjsQueryTypeOrmModule to register the entity with typeorm // and provide a QueryService imports: [NestjsQueryTypeOrmModule.forFeature([TodoItemEntity])], // describe the resolvers you want to expose resolvers: [ { - EntityClass: TodoItemEntity + EntityClass: TodoItemEntity, DTOClass: TodoItemDTO, CreateDTOClass: TodoItemCreateDTO, }, ], }), ], }) export class TodoItemModule {}
Yes
📚 Documentation
In https://tripss.github.io/nestjs-query/docs/introduction/example#wire-everything-up
there is a missing comma, it should be:
Have you read the Contributing Guidelines on issues?
Yes