snooze
snooze copied to clipboard
findByMeta with target
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?