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

Full support of periods in property name and property path #354

Closed
wants to merge 20 commits into from
Closed

Conversation

A-312
Copy link
Contributor

@A-312 A-312 commented Jan 5, 2020

fix: #250, fix: #271, fix: #315

This PR adds the full support of periods in property name and property path.

config.get('db.host');
// or
config.get('db').host;
// also
config.get('db[0]');
// with dot:
config.get('db["www.airbus.com"]'); { 'db': { 'www.airbus.com': 'air company'} }
// in the first level
config.get("['foo.bar']"); // { 'foo.bar': 'baz' }

@coveralls
Copy link

coveralls commented Jan 5, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 8cadd2a on A-312:dot-support into 30bcc2e on mozilla:feat-multi-packages-split.

@A-312 A-312 mentioned this pull request Jan 5, 2020
14 tasks
@A-312
Copy link
Contributor Author

A-312 commented Jan 6, 2020

I got issue with backslash and path, I will make a fix : https://github.com/mike-marcacci/objectpath/issues

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

4 participants