Skip to content

Allow multivalued query parameters #2

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
merged 2 commits into from
Oct 19, 2020
Merged

Allow multivalued query parameters #2

merged 2 commits into from
Oct 19, 2020

Conversation

m-kus
Copy link
Contributor

@m-kus m-kus commented Oct 17, 2020

This fix allows to apply several filters to a single column.
Currently every new filter overrides the previous one (e.g. builder.gte('x', 10).lte('x', 20) produces x=lte.20), this is due to how httpx.QueryParams.__set__ works.

@lqmanh
Copy link
Collaborator

lqmanh commented Oct 19, 2020

Thank you for your contribution! I'm merging this now.

@lqmanh lqmanh merged commit 4f588f8 into supabase:master Oct 19, 2020
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