Skip to content

fix(mongodb-constants): wrap in quotes to avoid error - #825

Merged
mabaasit merged 1 commit into
mainfrom
fix-vector-search-template
Jul 20, 2026
Merged

fix(mongodb-constants): wrap in quotes to avoid error#825
mabaasit merged 1 commit into
mainfrom
fix-vector-search-template

Conversation

@mabaasit

Copy link
Copy Markdown
Collaborator

Description

Open Questions

Checklist

Copilot AI review requested due to automatic review settings July 20, 2026 15:03

@ivandevp ivandevp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

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.

Pull request overview

Updates the Atlas Vector Search template in mongodb-constants to change how the numDimensions placeholder is represented, aiming to prevent an error when the snippet is used.

Changes:

  • Wrapes the numDimensions snippet placeholder in quotes within ATLAS_VECTOR_SEARCH_TEMPLATE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"type": "vector",
"path": "\${1:<field name to index>}",
"numDimensions": \${2:<number of dimensions>},
"numDimensions": "\${2:<number of dimensions>}",
@mabaasit
mabaasit enabled auto-merge (squash) July 20, 2026 15:05
@mabaasit
mabaasit merged commit 209d4ec into main Jul 20, 2026
9 checks passed
@mabaasit
mabaasit deleted the fix-vector-search-template branch July 20, 2026 15:41
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.

3 participants