Follow Laravel naming conventions for API Resources (specially for Resource Collections) #289
Unanswered
jonagoldman
asked this question in
Help
Replies: 1 comment
-
Hello @jonagoldman, Thank you for raising the issue. I wasn't aware of the effects on the |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The naming convention in Orion is the opposite from Laravel.
In Laravel, resource collections class names must end with
Collection
.From the Laravel documentation on Customizing The Underlying Resource Class :
This convention is also used by
make:resource
when creating resources. See ResourceMakeCommand.Beta Was this translation helpful? Give feedback.
All reactions