-
Notifications
You must be signed in to change notification settings - Fork 112
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
allow interpolator to read arrays/nested #159
allow interpolator to read arrays/nested #159
Conversation
Great addition! Thanks! 👏 |
Can you add some examples into the main readme? |
I just fixed some |
Bumps [qs](https://github.com/ljharb/qs) from 6.5.1 to 6.11.0. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.5.1...v6.11.0) --- updated-dependencies: - dependency-name: qs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
684cbcc
to
f4f2f56
Compare
Added some extra code to cover more cases in the new interpolator mechanism. Also, fixing some clippy offenses too.
I took the opportunity to fix some issues that I detect and also added an example in the documentation. It looks fine now! 👌 |
context.insert(String::from("Array"), json!(["a", "b", "c"])); | ||
context.insert(String::from("Object"), json!({"this": "that"})); | ||
context.insert(String::from("Nested"), json!({"this": {"that": {"those": [{"wow": 1}, {"so": 2}, {"deee": {"eeee": "eeep"}}]}}})); | ||
context.insert(String::from("ArrayNested"), json!([{"a": [{}, {"aa": 2, "aaa": [{"aaaa": 123 }]}]}])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was not working properly.
Merging! Thanks for this great contribution! |
should fix #102