Skip to content

fix!: Omit any None passed as a query param in generated clients. - #331

Merged
dbanty merged 1 commit into
mainfrom
do-not-pass-null-query-params
Feb 9, 2021
Merged

fix!: Omit any None passed as a query param in generated clients. #331
dbanty merged 1 commit into
mainfrom
do-not-pass-null-query-params

Conversation

@dbanty

Copy link
Copy Markdown
Collaborator

Closes#285. CC @bowenwr and @forest-benchling since this is my simple solution to an issue that plagues them. I believe aside from the type hinting being wrong in your SDK, this will solve the immediate functionality issue while bringing us more in line with the OpenAPI specification.

@dbanty
dbanty requested a review from emannFebruary 8, 2021 20:36
@codecov

codecovBot commented Feb 8, 2021

Copy link
Copy Markdown

Codecov Report

Merging #331 (21c5eb9) into main (fdeea99) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@## main #331 +/- ##
=========================================
Coverage 100.00% 100.00% =========================================
Files 47 47 Lines 1390 1390 =========================================
Hits 1390 1390 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdeea99...a92d4ce. Read the comment docs.

Sign up for freeto 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.

Use Optional for Query Params Instead of Union[Unset, ...]

2 participants

@dbanty@emann