It would be great to get an example of how to create a nested path.
ie- /users/:userId/posts
with posts having its own post/patch functionality
I have been attempting the example in customMethods but i'm not sure if this achieves what i need it to. I can't get anything to appear in the docs and requests result in a 404.
It would be great to get an example of how to create a nested path.
ie-
/users/:userId/posts
with
posts
having its own post/patch functionalityI have been attempting the example in customMethods but i'm not sure if this achieves what i need it to. I can't get anything to appear in the docs and requests result in a 404.
And if i try to follow the example at https://docs.feathersjs.com/help/faq.html#how-do-i-do-nested-or-custom-routes I receive the error
Invalid reference token: :userid
if i follow the example