Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(multilevel-config): support multilevel config #3

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

Merged

Conversation

andrew-barnett
Copy link
Contributor

Adds support for multilevel objects and arrays to the query string
parsing. For example, the string
ssl[ca]=ca.pem&ssl[key]=key.pem&ssl[cert]=cert.pem would parse to:

{
  ssl: {
    ca: 'ca.pem',
    key: 'key.pem',
    cert: 'cert.pem'
  }
}

Adds support for multilevel objects and arrays to the query string
parsing. For example, the string
`ssl[ca]=ca.pem&ssl[key]=key.pem&ssl[cert]=cert.pem` would parse to:

```
{
  ssl: {
    ca: 'ca.pem',
    key: 'key.pem',
    cert: 'cert.pem'
  }
}
```
andrew-barnett pushed a commit to andrew-barnett/database-js-mysql that referenced this pull request Oct 23, 2018
@mlaanderson mlaanderson merged commit e4e1142 into mlaanderson:master Oct 23, 2018
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.

2 participants