mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-25 06:02:16 -06:00
[GH-ISSUE #95] update() doesn't accept nested keys #27
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#27
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 @fahhem on GitHub (Aug 4, 2023).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/95
I'm not 100% sure this is the cause, since it's crashing the server rather than the client, but if I comment out this line then I don't get the error:
It seems update(), set(), etc should all handle paths with
/'s in them, right?This is from trying to migrate an existing app, so Firebase's SDK supports this
@appy-one commented on GitHub (Sep 20, 2023):
@fahhem AceBase doesn't support this yet - it is a cool feature though so I will definitely consider implementing it!
@appy-one commented on GitHub (Sep 20, 2023):
This code should be refactored to use
@fahhem commented on GitHub (Oct 3, 2023):
That is just an example, the code in question actually has multiple updates in the dict at different levels of nesting, which means I can't simply refactor it like that. Also, this is another non-Firebase-compatible API. Is there no interest in matching Firebase's API anymore?