Skip to content
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

fix: unmarshal-number-pointers #17

Closed
wants to merge 2 commits into from

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