Replies: 1 comment
-
I've tried using
This still causes the LocationData validation to trigger though. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I go about the following use case
I want to infer a LocationData $location which is a HasOne relation of the user model. Lets say I'm in a UserData class.
The frontend only sends the ID as location_id as I want to minimise the amount of data sent and I don't know how big the LocationData is going to get.
I think I'm looking for something like:
Beta Was this translation helpful? Give feedback.
All reactions