konami99 opened this issue a year ago · 0 comments
From the type-graphql document, this should be posts?: Post[] | null ? [Post] means the array only contains one element?
posts?: Post[] | null
[Post]
prisma-examples/typescript/graphql-typegraphql/src/User.ts
Line 19 in 236b74e