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
Also found another issue. When you define a insertOne in userResolver.ts (it's comment now), got another error:
error: TS2345 [ERROR]: Argument of type '{ name: any; last_name: any; dob: any; image_url: any; role: any; username: any; password: any; created_at: Date; updated_at: any; }' is not assignable to parameter of type 'InsertDocument<unknown>'.
Object literal may only specify known properties, and 'name' does not exist in type 'InsertDocument<unknown>'.
name: args.name,
~~~~~~~~~~~~~~~
Only happens when apply the mapping while run the tests, which I infer is a problem with the library.
[...]
insertOne
in userResolver.ts (it's comment now), got another error:Only happens when apply the mapping while run the tests, which I infer is a problem with the library.
Best regards,
Gabriel
Originally posted by @gmunumel in #9 (comment)
The text was updated successfully, but these errors were encountered: