Skip to content

Resource Object Uniqueness is Not Enforced #33

@DQSevilla

Description

@DQSevilla

Describe the bug
The uniqueness of resource objects (using type+id pairs) is not being enforced by Marshal or Unmarshal

Expected behavior
An error should be produced whenever two resource objects or resource linkages are referenced in a document, which have the same type+id pair.

Links
https://go.dev/play/p/UoFxKltVVI4

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions