Skip to content

project link in the projects collection resource uses wrong template variable name #4

@odrotbohm

Description

@odrotbohm

The projects collection resource exposes a link under the relation of project that contains an {id} template variable. However, there's no id field in the embedded preview documents. If they're supposed to be expanded with a related value from the surrounding document, it's common practice to name the template variables like the fields they're supposed to be expanded with. In this case, I assume that's {slug}?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions