Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Scientific numbers are interpreted as double #7

Open
Craftplacer opened this issue Apr 14, 2023 · 0 comments
Open

Scientific numbers are interpreted as double #7

Craftplacer opened this issue Apr 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Craftplacer
Copy link
Member

There's a Mastodon API-compatible instance that returns 1e+69 as their maxTootChars which are deserialized as double by Dart's JSON decoder. Since Instance does not use double, it causes a type error.

@Craftplacer Craftplacer added the bug Something isn't working label Apr 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant