Access Laravel\Nova\Util through the app container #5255
Unanswered
aijorgenson
asked this question in
Ideas & Feature Requests
Replies: 0 comments
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.
-
Currently, there's no way to substitute the Util class located at
laravel/nova/src/Util.php.In my specific case, I'm trying to use a package that doesn't fully adhere to the standard Laravel config structure for authentication providers. This causes me to have to do some very hackish things just to get around one method. I would speculate other developers may run into reasons to need to extend this class as well.
It seems like it would require low development effort to bind the class to the app container so it can be overridden in the
NovaServiceProvider, I would submit a PR myself but I can't seem to find a public Nova repository.Beta Was this translation helpful? Give feedback.
All reactions