Skip to content

route-based link providers #22

Open
@mattbishop

Description

@mattbishop

I'd like a way to register a separate link provider for another resource that is called once the routed request has been fulfilled. This would let me add links to relevant resources without editing that resource.

For instance, if I had a /products/:id route and I wanted to add links to an add-to-cart resource, I would like to register a link provider call-back that would get the representation from the product resource and let it provide additional links to go with it. In this example, it would add a link to add that product to a cart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions