-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi there, I am trying to get all the keys (recursively) that have changed by parsing the get-edits
vector and it all works - plus it reads nice.
However, there is an exception: get-edits
returns
[[] :r {:foo :bar}]
when the first in the diff is empty and the second populated (in my case {:foo :bar}
.
Now, I can special case on that []
but I wonder if I am missing more of the way editscript
returns its edits.
The I have two side question 😄
Did I understand things correctly above?
Should we mention this special case in the README, right after:
The first element of an edit is the path, similar to the path vector in
the function callupdate-in
. It might be confusing/unexpected to others.
Metadata
Metadata
Assignees
Labels
No labels