Closed NaoyaMiyagawa closed 5 months ago
This PR changes the way to specify a model name in php artisan model:show command. This change is inspired from this comment below:
php artisan model:show
Meaning, conventionally model:show command was used like this:
model:show
php artisan model:show User ... php artisan model:show Common/History ...
And moving forward, model:show command will be used like this:
php artisan model:show App\\Models\\User ... php artisan model:show App\\Models\\Common\\History ... // if modular monolith php artisan model:show Modules\\Post\\Comment ...
Result of debug.sh
debug.sh
(no change)
Sample result of output in modular monolith structure:
Hi @7nohe, I made an attempt to resolve the issue I raised. Let me know if you have any issues or concerns about this change!
Issues
Changes
This PR changes the way to specify a model name in
php artisan model:show
command. This change is inspired from this comment below:Meaning, conventionally
model:show
command was used like this:And moving forward,
model:show
command will be used like this:Output
Result of
debug.sh
Sample result of output in modular monolith structure: