human-object-diff icon indicating copy to clipboard operation
human-object-diff copied to clipboard

how do you specify a path for any index in an array?

Open DetachHead opened this issue 3 years ago • 0 comments

for example if i have an object like this and i want to add all of the bars in the foo array to sensitivePaths:

{
    "foo": [{"bar": 1}, {"bar": 2}]
}

i tried "foo.bar" and "foo[].bar" and neither of those worked.

DetachHead avatar Oct 06 '22 06:10 DetachHead