mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #105] Listening to value data event duplicates parts of mutated event ref path #60
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bubz43 on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/105
Originally assigned to: @appy-one on GitHub.
If listening to the
valueevent the path will be something likerecipes/recipe_id/recipe_id/name. The target inmutationsevent also suffers the same problem.As far as I can tell its just the
valueevent that does this. Everything else, includingnotify_value, doesn't cause problems.Also on an unrelated note, but probably not worth opening a second issue for, is the
forEachandchildmethods ofMutationsDataSnapshotboth callthis.val()without passing false, so it warns you to use the methods you already are using.@appy-one commented on GitHub (May 19, 2022):
Thanks for your detailed report, I'll dive into this!
@appy-one commented on GitHub (May 20, 2022):
Fixed it, published new version 1.19.2. Many thanks for reporting this!