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
{{ message }}
This repository has been archived by the owner on May 10, 2018. It is now read-only.
myResolver(parent,args,context,info){returncontext.db.query.posts({where: {isPublished: true,user: null// Error: The type "null" can not be assigned for the type "UserWhereInput | undefined".}},info);}
Expected behavior?
No typescript validation errors.
The text was updated successfully, but these errors were encountered:
I tried the quick fix of adding | null here, but it's much more entangled there with all those recursive calls. It would probably require some different approach.
Bug Report
Current behavior
There is no possibility of setting the value "null" for arguments because of the restrictions on types
Reproduction
Scheme
./generated/prisma.ts
Resolver usage
Expected behavior?
No typescript validation errors.
The text was updated successfully, but these errors were encountered: