How do I get my mutation to return a value?
Im trying to get my mutation to return the object after its been created. My router code is
And my front end code is
the console log keeps returning undefined. How do I get it to return the object? when I look at getAnswerCollection it says void
2 Replies
okay I actually answered this myself by using mutateAsync on the frontend
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View