human-object-diff
human-object-diff copied to clipboard
how do you specify a path for any index in an array?
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.