Skip to content

Fix/add duplicate object to array #2

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

herkyl
Copy link
Owner

@herkyl herkyl commented May 31, 2019

No description provided.

…g a add operation

Previously it was only checked if an object was in an array. We now keep track of indexes of objects that have been found and only allow an object to be found once. This fixes adding duplicate arrays because the objects are essentially seen as being different now.
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

Successfully merging this pull request may close these issues.

2 participants