Skip to content

fix(mongodb-constants): update $geoNear template COMPASS-6532 - #885

Merged
LuciaHarcekova merged 3 commits into
mainfrom
lucia/COMPASS-6532-geo-near-template
Sep 11, 2026
Merged

LuciaHarcekova merged 3 commits into
mainfrom
lucia/COMPASS-6532-geo-near-template

Conversation

@LuciaHarcekova

Copy link
Copy Markdown
Collaborator

Description

Update the $geoNear aggregation-stage template in mongodb-constants.

Jira Ticket: COMPASS-6532
Documentation: $geoNear aggregation stage

Changes

  • Remove the obsolete num option.
  • Add distanceMultiplier.
  • Add key.
  • Add minDistance.
  • Update the inline option documentation.
  • Preserve the existing option order.
  • Keep snippet placeholders unique and sequential.

Testing

  • npm run test --workspace=@mongodb-js/mongodb-constants
  • npm run check --workspace=@mongodb-js/mongodb-constants
  • npm run compile --workspace=@mongodb-js/mongodb-constants

Checklist

Comment thread packages/mongodb-constants/src/stage-operators.ts Outdated
Comment thread packages/mongodb-constants/src/stage-operators.ts Outdated
Co-authored-by: Alena Khineika <alena.khineika@mongodb.com>
Comment thread packages/mongodb-constants/src/stage-operators.ts Outdated
@LuciaHarcekova
LuciaHarcekova marked this pull request as ready for review September 11, 2026 12:11
@LuciaHarcekova
LuciaHarcekova requested review from a team as code owners September 11, 2026 12:11
@codeowners-service-app

codeowners-service-app Bot commented Sep 11, 2026

Copy link
Copy Markdown

Assigned kmruiz for team mongosh-developers because mabaasit is out of office.
Assigned kmruiz for team compass-developers because mabaasit is out of office.

@LuciaHarcekova
LuciaHarcekova merged commit fa25ec4 into main Sep 11, 2026
19 checks passed
@LuciaHarcekova
LuciaHarcekova deleted the lucia/COMPASS-6532-geo-near-template branch September 11, 2026 12:36
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.

2 participants