Open WatheqAlshowaiter opened 2 years ago
I think it should be singular in StudlyCase, i.e. UserResource
How do you manage, if you need to return different keys for a single resource and collection of resources?
Usually resources are single-purpose and should only return one set of information @bijaydas. If you got cases in which you tempted to return a large, combined set you should split them up. I hope this helps
like when we say
php artisan make: resource SomeResouce
should we make them singular, or plural, or in which cAsEs?