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

Allow basic list operations #5

Open
unsegnor opened this issue Jun 20, 2019 · 1 comment
Open

Allow basic list operations #5

unsegnor opened this issue Jun 20, 2019 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@unsegnor
Copy link
Owner

unsegnor commented Jun 20, 2019

Examples:
I would like to add a new value to a list without getting the entire list
So if I want to add a new room to my house I can just do "house.add('rooms', room)"
and the room is added to the list of rooms in the house

Rules:
Allow list operations (add and remove) directly over the property instead of getting the array operating and then setting it again.

Doubts:

Developer Notes:
This could require a different kind of representation of the arrays the state. This also allows us to improve the performance.

@unsegnor unsegnor added enhancement New feature or request question Further information is requested labels Jun 20, 2019
@unsegnor
Copy link
Owner Author

The 'add' method was already implemented on version 2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant