You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ts]
Type ‘Box’ is not assignable to type ‘Box’. Two different types with this name exist, but they are unrelated.
Property ‘owner’ is missing in type ‘Box’.
How to avoid this kind of type conflicts? Please for help.
The text was updated successfully, but these errors were encountered:
I don't get it 😕 @Artimal Please create a repository with a minimal reproducible code example. I haven't used Prisma, #217 will probably use the new datamodel api.
Prisma Client was incongruent with Prisma Server. After adding manually owner: WhereUserInput; it started to work. I already leaved Prisma and got TypeORM instead, it is going to fit much better with TypeGraphQL.
Hi, I create simple app with GraphQL Yoga, Prisma and TypeGraphQL.
Context TS interface with Prisma type:
Box TS type:
Prisma datamodel Box:
In Box resolver:
PROBLEM:
How to avoid this kind of type conflicts? Please for help.
The text was updated successfully, but these errors were encountered: