Skip to content

Sequelize #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Sequelize #70

wants to merge 6 commits into from

Conversation

vaibhavbhalla2505
Copy link

@vaibhavbhalla2505 vaibhavbhalla2505 commented Apr 16, 2025

Description

This PR replaces the LoopBack built-in Juggler ORM with Sequelize for handling database operations.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress.

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Any dependent changes have been merged and published in downstream modules

@@ -88,6 +89,7 @@
"loopback4-authentication": "^12.1.1",
"loopback4-authorization": "^7.0.3",
"loopback4-billing": "^1.0.0",
"sequelize": "^6.37.7",
Copy link
Collaborator

Choose a reason for hiding this comment

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

make this optional dep

`${BINDING_PREFIX}.chat.config`,
);
}
// export const Config = BindingKey.create<ISubscriptionServiceConfig | null>(
Copy link
Collaborator

Choose a reason for hiding this comment

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

why commented ?

@@ -0,0 +1,14 @@
import { SubscriptionServiceApplication } from "./application";
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this added ?

Copy link
Author

Choose a reason for hiding this comment

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

To bootstrap our LB4 application so that it can load configurations and bindings,initialize datasources and perform schema migrations for our models.

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