Closed ciungulete closed 3 years ago
Billable, instead of $owner->id it uses $owner->getKey() and in the payload we need to keep id:
$owner->id
$owner->getKey()
{ "owner": { "type": "App\\Models\\User", "id": 1 // this is the primary key value (steam_id, etc) }, ...
if we rename payload owner -> id we can't use old payloads.
owner -> id
I think this is the best solution.
Agreed, good thinking!
Can you make sure it ends up in v1 too?
Billable, instead of
$owner->id
it uses$owner->getKey()
and in the payload we need to keep id:if we rename payload
owner -> id
we can't use old payloads.I think this is the best solution.