When creating a new discussion, I would like to catch the slugs of the attached tags using the DiscussionWillBeSaved
event.
Normally I do this, which returns the expected result on an existing discussion
public function whenDiscussionWillBeSaved(DiscussionWillBeSaved $event)
{
foreach($event->discussion->tags->all() as $tag) {
$tags[] = $tag->slug;
}
}