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
CreateProductPayloadwhich contains aproductrelation, but the Payload type doesn't have a'model'set in the initial$attributesso it also doesn't have the ability to actually reference theproductrelation.Is there a way to make this work?
References:
PayloadakaProductCreatePayload.Beta Was this translation helpful? Give feedback.
All reactions