Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DetachHead opened this issue Oct 6, 2022 · 0 comments · May be fixed by #20
Open

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

DetachHead opened this issue Oct 6, 2022 · 0 comments · May be fixed by #20

Comments

@DetachHead
Copy link

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.

gustawdaniel added a commit to gustawdaniel/human-object-diff that referenced this issue Mar 27, 2023
@gustawdaniel gustawdaniel linked a pull request Mar 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant