Skip to content

Feat: integrate mongo support#84

Merged
bietkul merged 17 commits intodevelopfrom
feat/rs-mongo-support
Nov 29, 2021
Merged

Feat: integrate mongo support#84
bietkul merged 17 commits intodevelopfrom
feat/rs-mongo-support

Conversation

@mohdashraf010897
Copy link
Copy Markdown
Member

@mohdashraf010897 mohdashraf010897 commented Nov 16, 2021

PR Type: Feature

Description
The PR integrates support for mongodb backend specifically to reactivesearch methods.

📔 Notion

🎥 Demo: Self Review

Related PR(s)

headers: getTelemetryHeaders(this.enableTelemetry),
isRSAPI: true,
headers: getTelemetryHeaders(this.enableTelemetry, !this.mongodb),
isRSAPI: !this.mongodb,
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.

@mohdashraf010897 How is it related to mongo?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@@ -1,96 +1,96 @@
const appbase = require('..');
const appbase = require("..");
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.

Why do you have formatting changes?

if (!config.mongodb) {
url = host + path;
// Parse url
if (url.slice(-1) === '/') {
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.

URL parsing should happen irrespective of search BE.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed here 👉 314651a

@bietkul bietkul merged commit c7351e5 into develop Nov 29, 2021
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