Skip to content

Conversation

bboreham
Copy link
Contributor

The meaning of the code before #2457 is that we initialise to API but allow the unmarshal code to override.

Tests were added in #2457 to confirm this works as expected.

The meaning of the code as-was is that we initialise to `API` but
allow the unmarshal code to override.

Tests were added in #2457 to confirm this works as expected.

Signed-off-by: Bryan Boreham <[email protected]>
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

👍

@bboreham bboreham marked this pull request as draft April 16, 2020 10:18
@bboreham
Copy link
Contributor Author

Closing; the original code was ineffective because Unmarshal() calls Reset().

The new code is also ineffective but fixing needs more thought.

@bboreham bboreham closed this Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants