blikblum/tinybind

Question: How to get full keypath during routine function?

adelriosantiago opened this issue · 1 comments

I came across the need to get the full keypath during the a routine call but I don't seem to know where to catch the full keypath for rv-each, I only get the partial path, example:

For the data:

items: [
    { todo: "get milk" },
    { todo: "buy meat" },
    { todo: "exercise" },
],

If I change the "get milk" and print the arguments of the binding in this line, I get:

image

As you can see it is only item.todo and not items[0].todo or items[1].todo or whatever the index is. How can I get the full path?