Is there a way to get the current resourceId when I'm trying to perform an action inside handle() method, because if I'm trying to get it like in a nova Resource adding the Request class and passing it like a param inside the method i get an error
It helps kind of but the thing is i need the id lets say "tag" i assign something throw an action, if i'm using first() method it will give me the first tag that i have but i need every time the tag ID that i'm doing an action
I'm trying to say that every time a do an action I need the ID of the resource i'm doing it because i wanna insert it in other table, but i'm not sure how can i get it
$models are your $tags already, no need to rerun database query. Depending how many you will mark in nova that many you will get in the $models collection.