Skip to content

self links for jsonapi_resource routesΒ #610

Open
@macasek

Description

@macasek

It appears that the link generation for resources that are singleton resources (jsonapi_resource) are not generating correctly and instead it produces a link using jsonapi_resource rules. For example I would expect a self link in the singlton case to be:

http://example.com/api/myobject

but I am instead getting

http://example.com/api/myobjects/123

Looking through the source it appears this is not handled, am just missing it? Thanks!

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