Skip to content

Routing for polymorphic relationships #314

@Wizofgoz

Description

@Wizofgoz

Are registering of routes for polymorphic relationships supported? In the docs for routing, this is what is said:

The related resource type needs to be known so that the query parameters for requests to relationship routes can be validated correctly. For example, for a to-many relationship, the filters that are allowed will be those allowed for the related resource type. So a request to posts/1/author will need to validate the filters for those allowed for users resources, not the posts resource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions