这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

This updates the handling of the raw body field index to match that of the body index (using a slice of field integers describing the path to the possibly embedded field). This makes it possible to use embedded structs with a RawBody field.

Fixes #652

@danielgtaylor danielgtaylor requested a review from Copilot December 4, 2024 07:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no suggestions.

@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.76%. Comparing base (4b4221f) to head (7c050f1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #666   +/-   ##
=======================================
  Coverage   92.76%   92.76%           
=======================================
  Files          22       22           
  Lines        4905     4910    +5     
=======================================
+ Hits         4550     4555    +5     
  Misses        308      308           
  Partials       47       47           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielgtaylor danielgtaylor merged commit 0fefc6f into main Dec 4, 2024
7 checks passed
@danielgtaylor danielgtaylor deleted the raw-body-embed branch December 4, 2024 16:30
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.

Panic response when input having RawBody as multipart.Form in embedded struct

2 participants