Skip to content

Conversation

dorkster100
Copy link
Contributor

Currently the command defines it`s own method for resolving policies, which does not take into account the Policy guessing feature of Laravel. I suggest we reuse Gate own method for this.

Co-authored-by: Jess Archer <jess@jessarcher.com>
@taylorotwell taylorotwell merged commit 82875a1 into laravel:10.x May 12, 2023
milwad-dev pushed a commit to milwad-dev/framework that referenced this pull request May 12, 2023
* Fix: ShowModelCommand not guessing policy

* fix style

* Update src/Illuminate/Database/Console/ShowModelCommand.php

Co-authored-by: Jess Archer <jess@jessarcher.com>

---------

Co-authored-by: Deniss Levskoi <deniss@oops.ee>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
Co-authored-by: Jess Archer <jess@jessarcher.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants