Skip to content

Example of Nested paths #230

@Shpadoinkle

Description

@Shpadoinkle

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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions