Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unlink URI from resource type #70

@antonkomarev

Description

@antonkomarev

Right now jsonApiType is using for resource type and in URI builder. But in JSON:API specification there is no rule to keep them same.

Example:
I have resource with type: "Truck", but it's listed in GET /cars endpoint.

I propose to have extra property which will be used in URI path. If it's value is undefined or null - then jsonApiType will be used as it's working now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions