Skip to content

Support nested list of tuples in query parameters#486

Merged
teamon merged 2 commits intoelixir-tesla:masterfrom
ejscunha:support-query-params-with-nested-list-of-tuples
Aug 31, 2021
Merged

Support nested list of tuples in query parameters#486
teamon merged 2 commits intoelixir-tesla:masterfrom
ejscunha:support-query-params-with-nested-list-of-tuples

Conversation

@ejscunha
Copy link
Copy Markdown

Description

Besides supporting nested keyword lists for query parameters, now a list of tuples where the first element of the tuple is binary is also supported.

This way there is no need to transform the list of tuples into a keyword, where the casting of keys into atoms could be dangerous when user input is used.

Besides supporting nested keyword lists for query parameters, now
a list of tuples where the first element of the tuple is binary is
also supported.
Comment thread lib/tesla.ex
@ejscunha ejscunha requested a review from teamon August 31, 2021 11:53
@teamon teamon merged commit f96049c into elixir-tesla:master Aug 31, 2021
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