- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RawMessage, similar to json.RawMessage #668
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #668 +/- ##
==========================================
- Coverage 77.61% 77.56% -0.06%
==========================================
Files 22 22
Lines 7953 7968 +15
==========================================
+ Hits 6173 6180 +7
- Misses 1362 1368 +6
- Partials 418 420 +2 |
I think you'd want to see this pr merged #642 . It implements an even more erganomic feature |
This adds a type that users can use to refer to raw data in the yaml for deferred decoding. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
That is an elegant solution since it doesn't require re-parsing the data. |
@cpuguy83 Thank you for your contribution !! goccy/go-yaml provides a way to decode into On the other hand, goccy/go-yaml has the
Please add the test case the following.
|
@cpuguy83 Do you have time to respond to the point I reviewed ? If not, I will close this PR and support this myself. |
@cpuguy83 |
This adds a type that users can use to refer to raw data in the yaml for deferred decoding.
Closes #425