Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3244 +/- ##
==========================================
+ Coverage 93.34% 96.23% +2.88%
==========================================
Files 43 46 +3
Lines 4735 4430 -305
==========================================
- Hits 4420 4263 -157
+ Misses 192 167 -25
+ Partials 123 0 -123 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
An endpoint using an initialized anonymous scalar pointer, such as
struct { *Identifierquery:"id"}, panics while binding?id=42. The binder dereferences every anonymous pointer before passing the field to helpers that still expect its declared pointer kind, soreflect.Value.IsNilis called on an integer.Only dereference anonymous pointers to structs at the recursion boundary. Embedded scalar pointers now follow the existing pointer binding path. The regression uses
Context.Bind; an embedded scalar value is included as a passing control. Existing anonymous-struct and nil-pointer tests remain intact.Validation:
go test -run TestBind -count=1 .passed.go test -race -count=1 ./...passed (proxy environment removed for local-server tests).go vet ./...,gofmt, andgit diff --checkpassed.AI assistance: OpenAI Codex prepared and reviewed the change and executed these checks under the account owner's authorization.
Summary by CodeRabbit