Skip to content

Fix: Handle UInt64 and Int64 values for web compatibility in deserializer #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muzzammilshahid
Copy link

This pull request resolves an issue with deserializing UInt64 and Int64 values. The problem occurs specifically on web platforms due to JavaScript's integer range limitations. The fix ensures proper deserialization for these values in web environment.

Copy link

@om26er om26er left a comment

Choose a reason for hiding this comment

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

This does the trick on the web

@om26er
Copy link

om26er commented Jun 27, 2024

@knopp can you please look into this? This is an essential fix to make sure the library does not crash if integer is large for dart web.

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.

2 participants