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

Support nested keys #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support nested keys #119

wants to merge 1 commit into from

Conversation

eevleevs
Copy link

Allows body['query.filtered.query.match.description']

Allows body['query.filtered.query.match.description']
@eevleevs
Copy link
Author

Partially covers #110

@mewwts
Copy link
Owner

mewwts commented Feb 28, 2020

Thanks for your contribution @eevleevs!

Will this be backwards incompatible?

@eevleevs
Copy link
Author

Could be, if one used keys including a dot until now.
But that would be a strange use case, since those keys cannot not be accessed using dot notation.

@partic2
Copy link

partic2 commented May 27, 2022

In javascript. user can use keys including dot, So I think we should not prevent user do that here either.

Maybe another function body.chain_get('query.filtered.query.match.description') is beter, Or test if raw key is exists before parse keys into nested get?

I'm not the maintainers, just in my humble opinion.

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 this pull request may close these issues.

None yet

3 participants