Skip to content

Support one-to-one relationships #32

@toddkazakov

Description

@toddkazakov

Currently all of the relationships are one-to-many. This can be seen in the following example:

    "relationships": {
        "source": {
          "links": {
            "self": "/annotate/361878dab8298d35e36c5e032c2255c998080743"
          },
          "data": [
            {
              "type": "source",
              "id": "361878dab8298d35e36c5e032c2255c998080743"
            }
          ]
        }
    }

As you can see data is an array, but it should be an object for one-to-one relationships.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions