Replies: 2 comments 3 replies
-
Show the |
Beta Was this translation helpful? Give feedback.
1 reply
-
First of all, as shown in examples and explained in plenty of mongoose issues, you need to cast your documents into plain objects before returning from the query. You can do that manually via I don't know if this fixes your issue but it looks like the only invalid thing in the parts of the code you've shown. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this Type created with type-graphql and according to documentation its posible call to the in @fiel() insted of @FieldResolver(), I tried with both but i dont know what i'm doing wrong
in playground
in console, nothing
also i tried this
Beta Was this translation helpful? Give feedback.
All reactions