You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes a code generation regression where HTTP request decoders for primitive payloads (e.g. string, bool, numeric types) could emit invalid early returns (return nil, err) on validation/decode errors.
Prevents downstream build failures such as cannot use nil as string value in return statement for designs using primitive payloads with validations (e.g. Format(FormatIP) on path params).
Adds regression coverage, including a golden-backed case for Format(FormatIP) validation on a primitive path payload.
What's Changed
Fix HTTP request decoder returns for primitive payloads by @raphael in #3901