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

Add a wildcard * #3

Open
vendethiel opened this issue Feb 10, 2020 · 1 comment
Open

Add a wildcard * #3

vendethiel opened this issue Feb 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@vendethiel
Copy link
Contributor

If you want to limit some subkeys, but keep everything else, you currently have to do something like:

mask('a(b,c),-some_fake_key', %);

It'd probably be better to add this instead:

mask('a(b,c),*', %);

mask('*,a(b,c)', %);
@vendethiel vendethiel added the enhancement New feature or request label Feb 10, 2020
@vendethiel
Copy link
Contributor Author

Maybe that wildcard could also allow for partial searches, but that sounds less useful.
This would also allow mixing pos/neg.
Example:

mask('user_*,-password', %);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant