Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Model Namespace on executing the transformer command #194

Open
SachinBahukhandi opened this issue Mar 27, 2023 · 0 comments
Open

Wrong Model Namespace on executing the transformer command #194

SachinBahukhandi opened this issue Mar 27, 2023 · 0 comments

Comments

@SachinBahukhandi
Copy link
Contributor

Hi,
Upon generating the Transformer using the command:

php artisan make:transformer UserTransformer

I could see in the documentation that:

assume the models live directly in the app folder

But Going as per Laravel's documentation:

https://laravel.com/docs/8.x/eloquent#generating-model-classes

The directory is: app\Models.

Thanks.

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

No branches or pull requests

1 participant