Skip to content

Leave null parameters out of requests - #113

Merged
ivmorski merged 1 commit into
mainfrom
null-params-left-out
Oct 16, 2026
Merged

ivmorski merged 1 commit into
mainfrom
null-params-left-out

Conversation

@ivmorski

Copy link
Copy Markdown
Collaborator

A nullable union set to null made the client fail with "cannot write null as text" in a query, header or cookie parameter. OpenAPI counts null as undefined there, and undefined is not sent. Now it is left out, or ErrParamMissing when required. Nullable unions get IsNull.

@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ivmorski
ivmorski merged commit 66a9d75 into main Oct 16, 2026
3 checks passed
@ivmorski
ivmorski deleted the null-params-left-out branch October 16, 2026 18:53
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