Skip to content

Conversation

sadiqsalau
Copy link
Contributor

Addresses the issue with json field relationship. E.g

{
"object_type": "comment",
"object_id": "1"
} 
$this->morphOne(Notification::class, 'data->object');

Addresses the issue with json field relationship. E.g
{
"object_type": "comment",
"object_id": "1"
} 

$this->morphOne(Notification::class, 'data->object';)
@cesargb cesargb merged commit f266e8c into cesargb:master Nov 27, 2023
@sadiqsalau sadiqsalau deleted the patch-1 branch November 28, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants