Error when a parameter is added in the Resource constructor #4655
Unanswered
felipe-dsdev
asked this question in
Ideas & Feature Requests
Replies: 1 comment
-
Such customization isn't supported by Nova at the moment. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I'm extending the Laravel\Nova\Resource class, however when adding additional parameters in the constructor for the Laravel DI to include the classes, the following error is returned:
Too few arguments to function Laravel\Nova\Tools\ResourceManager::Laravel\Nova\Tools\{closure}(), 1 passed and exactly 2 expected
Detailed steps to reproduce the issue on a fresh Nova installation:
php artisan nova:resource Post
)Beta Was this translation helpful? Give feedback.
All reactions