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

Filtering on nested metadata not allowed #110

Open
jadendick opened this issue Sep 6, 2024 · 0 comments
Open

Filtering on nested metadata not allowed #110

jadendick opened this issue Sep 6, 2024 · 0 comments

Comments

@jadendick
Copy link

When trying to filter by metadata that contains nested JSON objects, the field name is rejected since it contains '.'. For example:

Metadata: {"common": {"source": "confluence"}}
Filter: {"common.source": "confluence"}
This does not work because of the '.' which is currently not allowed but is a valid JsonPath.

I believe this can be fixed by changing the check here, perhaps to a simple regex function that allows '.':

if _classes is not None:

Thank you

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