Replies: 1 comment
-
Found it. I was returning |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm interested in using Payloads as return types for mutations.
The current problem I'm facing is that I can create a type
CreateProductPayload
which contains aproduct
relation, but the Payload type doesn't have a'model'
set in the initial$attributes
so it also doesn't have the ability to actually reference theproduct
relation.Is there a way to make this work?
References:
Payload
akaProductCreatePayload
.Beta Was this translation helpful? Give feedback.
All reactions