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

Implementation of Resource.equals() completely ignores id and type #442

Open
erdi opened this issue Jul 17, 2017 · 0 comments
Open

Implementation of Resource.equals() completely ignores id and type #442

erdi opened this issue Jul 17, 2017 · 0 comments

Comments

@erdi
Copy link

erdi commented Jul 17, 2017

If you have two resources that don't have any links, meta and relationships but have the same attributes these resources will be deemed equal and strange things will start to happen if you try to put both such resources in a set.

I discovered the issue after I installed a custom ResourceMapper which does not provide any links when getResourceLinks() and setRelationship() are called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant