-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature: Partial List updates #2531
Comments
Thank you for your suggestion! |
+1, This is super useful and necessary i believe in case of real time updates for some events (likes count/dislikes count) without having to do any check on the front side and update the entire array. Any delay on the front side means that the value on the server will be wrong. |
I guess, we should create seperate method for de-linking document in case of relationship or |
馃敄 Feature description
When updating a Array-Field in a Document it would be nice if we could add and remove entries from the List without having to specify the entire List. This extends to the
read
andwrite
Permissions.In Firebase this is implemented using the
FieldValue.arrayUnion
andFieldValue.arrayRemove
methods.馃帳 Pitch
When adding a user to the
read
-Permission of a Document it would be much easier to just specify the user that should be added.Alternatively we could prefix the String we want to add or remove with
+
/-
, but that might be limiting for Lists of other types.馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: