typegoose graphql update subdocument #959
Unanswered
Sed9yDataBank
asked this question in
Q&A
Replies: 1 comment 11 replies
-
Two things:
PS: I'm not familiar with |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to write a mutation for updating a subdocument.
The subdocument has multiple fields.
This is how it's done with mongo:
and this is what I wrote in my resolver:
My problem is how can I partial update my subdocument 'Progression'.
For now graphql playground returns true, but there are no updates happening.
Beta Was this translation helpful? Give feedback.
All reactions