FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix: Query param deepObject return without assign on !required by voro015 · Pull Request #68 · oapi-codegen/runtime · GitHub

Fix: Query param deepObject return without assign on !required - #68

Merged
mromaszewicz merged 3 commits into
oapi-codegen:mainfrom
voro015:fix/query-optional-deepObject
Mar 18, 2026
Merged

Fix: Query param deepObject return without assign on !required#68
mromaszewicz merged 3 commits into
oapi-codegen:mainfrom
voro015:fix/query-optional-deepObject

Conversation

voro015 commented May 7, 2025

Copy link
Copy Markdown
Contributor

Updated BindQueryParameter to return error if query param was not provided but was set as required
Updated UnmarshalDeepObject to skip value assign if query param was not provided and not required

Fixes #67

voro015 requested a review from a team as a code owner May 7, 2025 04:44

Copy link
Copy Markdown

@jamietanna sorry for a direct ping, it's been almost a year, may I ask for your review?

mromaszewicz added the bug Something isn't working label Mar 18, 2026
Exercise the required and optional code paths for deepObject-style
query parameters to verify no unintended side effects from PR oapi-codegen#68.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Copy link
Copy Markdown
Member

Thanks for doing this, and sorry about the long delays.

mromaszewicz merged commit fd63554 into oapi-codegen:main Mar 18, 2026
23 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query param with deepObject does not respect if param is required

3 participants


Back | FazBrowse Home | New Git URL