Skip to content

Links and auto links behaviours impose out-of-spec limitations. #464

Description

@Slotos

According to spec, links object presence is optional in top level and resource objects.

However, this library imposes the following out-of-spec limitations:

  • if top level links object is generated (remove_links: false), resource level links object presence is effectively enforced
  • if resource level links object is controlled manually (remove_links: true), top level links object is omitted
  • when rendering singular resources, top level links object is omitted

The first two limitations make it impossible to implement, for example, a paged list view for identifiable but not individually addressable resources.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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