Coloquent
Coloquent copied to clipboard
Unlink URI from resource type
Right now jsonApiType
is using for resource type
and in URI builder. But in JSON:API specification there is no rule to keep them same.
Example:
I have resource with type: "Truck"
, but it's listed in GET /cars
endpoint.
I propose to have extra property which will be used in URI path. If it's value is undefined
or null
- then jsonApiType
will be used as it's working now.
Makes sense, good idea
Would you have time to implement this?
Nope, sorry. I'm not actually using your package. Just made a research of existing solutions and found this issue.