Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Object Uniqueness is Not Enforced #33

Open
DQSevilla opened this issue May 4, 2023 · 0 comments
Open

Resource Object Uniqueness is Not Enforced #33

DQSevilla opened this issue May 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DQSevilla
Copy link
Contributor

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

@DQSevilla DQSevilla added the bug Something isn't working label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant