[COMPASS-7526] Design how would the AC handle connections to a MongoDB server Created: 14/Dec/23  Updated: 17/Jan/24  Resolved: 17/Jan/24

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Kevin Mas Ruiz Assignee: Kevin Mas Ruiz
Resolution: Done Votes: 0
Labels: milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-7525 Decide what type of API we want to ex... Closed
Epic Link: COMPASS-5441
Story Points: 2
Documentation Changes: Not Needed

 Description   

Being the AC system a library or an external system like a Language Server shapes the different options to handle the connections to MongoDB to get additional context for the autocompletion.

There are different alternatives, as listed here:

  • The tool will open and use it's own MongoDB connection.
  • The tool will receive a facade to the MongoDB connection, if possible (like in a library).
  • The tool won't use MongoDB directly, but expose a way to provide all necessary context from outside.

However, other options are also likely to be possible.


Generated at Wed Feb 07 22:46:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.