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

Wildcard for values with "." #790

Closed
sajal50 opened this issue Oct 23, 2019 · 1 comment
Closed

Wildcard for values with "." #790

sajal50 opened this issue Oct 23, 2019 · 1 comment
Milestone

Comments

@sajal50
Copy link

sajal50 commented Oct 23, 2019

For example, if I have objects -

{ "foo.bar" :  { "x" : { "value" : 1 }  } }

and

{ "foobar" :  { "x" : { "value" : 1 }  } }

and in checkSchema() if I wanted to write a wildcard for "value", *.*.value only works for the second object and not the first. Is there a way to make a single wildcard to work for both?

@gustavohenke gustavohenke added this to the v7.0.0 milestone Apr 14, 2023
@gustavohenke
Copy link
Member

That's possible now in v7.0.0, these are called globstars: **.value

Docs here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants