Closed deckchan closed 2 years ago
Let's group the logic in a separate function.
I don't think we can call this->resolve($resource, $attribute)
since that will call parent::resolve() which might have unwanted effects.
Also the two functions are very much different in terms of arguments/parameters they accept.
Seems to be abandoned. Feel free to open a new pull request with the fixes.
…ndling in resolveForAction