Closed ssuriyan7 closed 7 months ago
I opened https://github.com/fxamacker/cbor/pull/524 to nudge this over the finish line. This is necessary for cases that were dependent on the behavior of the bug https://github.com/fxamacker/cbor/issues/501, which has since been fixed. Thank you @ssuriyan7 for your work on this! I took care to retain you as the commit author on my updated branch.
This PR is completed by @benluddy's PR #524.
Thanks @ssuriyan7 for opening this PR and your other contributions too! :+1:
Currently, when cbor.Unmarshal is called with a byte string data item and time.Time as destination type, it causes UnmarshalTypeError. This change adds a decoding option to specify if this operation can be allowed.
Description
PR Was Proposed and Welcomed in Currently Open Issue
Checklist (for code PR only, ignore for docs PR)
Last line of each commit message should be in this format:
Signed-off-by: Firstname Lastname firstname.lastname@example.com
Certify the Developer's Certificate of Origin 1.1