Skip to content

feat(bson-parsing): consolidate query parser in bson parser COMPASS-11126 - #890

Open
mabaasit wants to merge 4 commits into
mainfrom
consolidate-query-parser-in-bson-parser
Open

mabaasit wants to merge 4 commits into
mainfrom
consolidate-query-parser-in-bson-parser

Conversation

@mabaasit

@mabaasit mabaasit commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Description

COMPASS-11126

Open Questions

Checklist


Stack created with GitHub Stacks CLIGive Feedback 💬

@mabaasit
mabaasit requested review from a team as code owners September 21, 2026 08:50
@mabaasit
mabaasit requested review from nbbeeken and a lite review from Copilot and removed request for Copilot September 21, 2026 08:50
@mabaasit
mabaasit added this pull request to stack #894 September 21, 2026 08:51
@mabaasit mabaasit changed the title feat(bson-parsing): consolidate query parser in bson parser feat(bson-parsing): consolidate query parser in bson parser COMPASS-11126 Sep 22, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Rename to parse.spec.ts

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

And some of the test cases were extracted to test/parse-test-cases.ts

@@ -0,0 +1,477 @@
import assert from 'assert';

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Extracted toJSString tests from packages/query-parser/src/index.spec.ts.

@@ -0,0 +1,176 @@
import type {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Copy of packages/query-parser/src/stringify.ts

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.

1 participant