You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin explore the wrong resource for the related create page route!
How to reproduce the bug
The plugin cant discover the exact ancestor resource in the apps where a model has more than one resource.
As there is similar issue with the nested resource which is resolved by defining the $nestedResource explicitly there should be a same approach for the $ancestorResource.
So we can define public static string $ancestorResource = Which/Resource/ArtistResource::class;
Package Version
latest
PHP Version
8.3
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered:
What happened?
The plugin explore the wrong resource for the related create page route!
How to reproduce the bug
The plugin cant discover the exact ancestor resource in the apps where a model has more than one resource.
As there is similar issue with the nested resource which is resolved by defining the $nestedResource explicitly there should be a same approach for the $ancestorResource.
So we can define
public static string $ancestorResource = Which/Resource/ArtistResource::class;
Package Version
latest
PHP Version
8.3
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered: