mk668a / nestjs-prisma-graphql-crud-gen

Generate CRUD resolvers from GraphQL schema with NestJS and Prisma
https://www.npmjs.com/package/nestjs-prisma-graphql-crud-gen
MIT License
48 stars 10 forks source link

enum path error #115

Open MinJungHyun opened 1 year ago

MinJungHyun commented 1 year ago
  1. add code schema.prisma
  2. start:dev
  3. enum path error

    
    model Place {
    id   Int    @id @default(autoincrement())
    name String
    
    stamps Stamp[]
    }

model Stamp { id Int @id @default(autoincrement()) count String mealType MealType @default(breakfast)

place Place? @relation(fields: [placeId], references: [id]) placeId Int? }

enum MealType { breakfast lunch dinner night }

mk668a commented 1 year ago

fixed enum path problem in v1.0.4, please check: https://github.com/mk668a/nestjs-prisma-graphql-crud-gen/compare/v1.0.3...v1.0.4