mongo: support databases not hosted on mongodb Atlas
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 41
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 12
Description
At the moment our mongo adaptor hard-codes the mongo+srv:// protocol in to the connection string. This is designed for hosted mongo databases (or any database hosted with SRV).
This is fine but the configuration schema should allow this to be customised.
I think the only valid protocols for mongo are mongo and mongo+srv, so the configuration schema probably needs an srv option which defaults to true.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the mongo adaptor's connection-string construction and configuration schema. Trace how the hard-coded mongo+srv:// protocol is selected, then verify the schema can customize it while defaulting srv to true and supporting both mongo and mongo+srv protocols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100