Skip to content

fix(bson-types): use correct bson types COMPASS-10968 - #930

Merged
mabaasit merged 3 commits into
mainfrom
COMPASS-10968
Oct 26, 2026
Merged

mabaasit merged 3 commits into
mainfrom
COMPASS-10968

Conversation

@mabaasit

Copy link
Copy Markdown
Collaborator

Description

Open Questions

Checklist

@mabaasit
mabaasit requested review from a team as code owners October 20, 2026 11:16
@mabaasit
mabaasit requested review from paula-stacho and a balanced review from Copilot and removed request for Copilot October 20, 2026 11:16
@mabaasit
mabaasit enabled auto-merge (squash) October 23, 2026 16:52
@coveralls

coveralls commented Oct 23, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 80.197% (+0.2%) from 79.988% — COMPASS-10968 into main

Copilot AI balanced review requested due to automatic review settings October 26, 2026 08:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes align with existing parser support, and no blocking issues were identified; tests were not executed.

No open issues 🎉

What changed in this PR

Updates BSON stringification and autocomplete metadata to use Long and Decimal128 instead of NumberLong and NumberDecimal, aligning with existing parser support.

Changes:

  • Uses the updated constructor names in serialized BSON output.
  • Updates corresponding test expectations and autocomplete entries.
  • Corrects the 64-bit integer description.
File Description
packages/​shell-bson-parser/​src/​stringify.ts Emits Long and Decimal128 constructors.
packages/​shell-bson-parser/​src/​stringify.spec.ts Updates test names and expected serialized output.
packages/​mongodb-constants/​src/​bson-types.ts Updates autocomplete names and snippets; fixes a description typo.

Review effort: Balanced

@mabaasit
mabaasit merged commit f9039a5 into main Oct 26, 2026
57 of 62 checks passed
@mabaasit
mabaasit deleted the COMPASS-10968 branch October 26, 2026 11:38
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.

4 participants