snooze icon indicating copy to clipboard operation
snooze copied to clipboard

findByMeta with target

Open abcmoritz opened this issue 2 years ago • 0 comments

Hello, great package! But is it possible to get the scheduled_notification by the meta tag but also eager load the target?

Use case: I have tasks The task has reminder notifications The target is the selected user of the task notification The task is stored in the meta data I get all reminders / notificaitons for a task with findByMeta as a task attribute

Now a solution could be iterating with a foreach through every notification of the getRemindersAttribute function. But is it build in and i couldnt figure it out?

abcmoritz avatar Dec 08 '21 21:12 abcmoritz