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

Bug Report: Saving document converts Int64 to Double #746

Closed
DJSchaffner opened this issue Jun 25, 2024 · 1 comment
Closed

Bug Report: Saving document converts Int64 to Double #746

DJSchaffner opened this issue Jun 25, 2024 · 1 comment

Comments

@DJSchaffner
Copy link

DJSchaffner commented Jun 25, 2024

Bug Report

Current Behavior

When saving a document containing Int64 values in the they will be converted to Double.
Probably related to #747

Code/Gist

{
  "_id": {
    "$oid": "64a81216fc3208ccee8ec5f3"
  },
  "guild_id": 818617667421601800
}

Hitting save will convert the guild_id field for this document to a Double

Expected Behavior/Code

The type of fields should not change to a different type on save

Environment

  • node.js / npm versions: -
  • MongoDB for VS Code: 1.6.0
  • OS: Windows 10

Possible Solution

Additional Context/Screenshots

@DJSchaffner DJSchaffner changed the title Bug Report Bug Report: Saving document converts Int64 to Double Jun 25, 2024
@alenakhineika
Copy link
Contributor

Closing as a duplicate of #747.

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

2 participants