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 support for pattern matching #198

Open
leorg99 opened this issue Aug 12, 2024 · 0 comments
Open

Add support for pattern matching #198

leorg99 opened this issue Aug 12, 2024 · 0 comments

Comments

@leorg99
Copy link

leorg99 commented Aug 12, 2024

Is your feature request related to a problem? Please describe.
Being able to pattern match on the field name would significantly add flexibility.
Currently, if you want to match all field names ending in "Id", there is no way to do this.

Describe the solution you'd like
Add an overload that takes an Expression<Func<string,bool>> and let the consumer decide if this field should be ignored/accepted/excluded/etc. Same can be done for the json path.

Describe alternatives you've considered
Regex, wild cards, glob pattern, etc.

Additional context

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

No branches or pull requests

1 participant