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

Option storeAsString does not work with option alwaysParseAsBig #67

Open
butterybread opened this issue Jan 26, 2022 · 0 comments
Open

Comments

@butterybread
Copy link

butterybread commented Jan 26, 2022

When you have the option alwaysParseAsBig enabled, you expect all numbers to be parsed as Big.
When you have the option storeAsString enabled, you expect all Big numbers to be stored as a string.

When enabling both these options:

  • big numbers are stored as strings 👍
  • small numbers are stored as Big Numbers, not as strings 👎

This does not seem very useful.
I would expect the small numbers to also be stored as strings.

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

No branches or pull requests

1 participant