Skip to content

Conversation

@jangraefen
Copy link

When unmarshalling pointers to number types, an explicit conversion is needed, as the reflection conversion only works for non-pointer values. This PR adds explicit conversions for all number types.

This will fix #16.

@CLAassistant
Copy link

CLAassistant commented Oct 31, 2022

CLA assistant check
All committers have signed the CLA.

@jangraefen jangraefen changed the title fix/unmarshal-number-pointers fix: unmarshal-number-pointers Nov 1, 2022
@jangraefen
Copy link
Author

I create a new PR here: #19

I did this, so I can create a temporary fork of this library, so I can work around this bug.

@jangraefen jangraefen closed this Dec 4, 2022
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.

Unmarshalling of pointers is not working correctly for number types

2 participants