Closed feroult closed 8 years ago
Would this have the same effect as nested resources (with @ParentId)? Or is it something else?
This is something else. This is just a prefix for all routes belonging to this endpoint, including custom actions.
I haven't thought yet about the implications if the endpoint has a @ParentId
. But it seems that this prefix can't be mixed with the Parent/Child routes.
For example:
This will be useful to organize APIs into a tree-like structure.