Skip to content

Conversation

@imsitnikov
Copy link
Collaborator

@imsitnikov imsitnikov commented Sep 21, 2025

Added new params to getModel:

export function getModel(): typeof BaseModel {
export type GetModelParams = {cancelOnTimeout?: boolean; useLimitInFirst?: boolean};

export function getModel(params: GetModelParams = {}): typeof BaseModel {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add this params to initDB also because we init model there const CoreBaseModel = getModel();

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@imsitnikov imsitnikov requested a review from jhoncool September 22, 2025 12:49
@imsitnikov imsitnikov merged commit b6863d5 into main Sep 22, 2025
5 checks passed
@imsitnikov imsitnikov deleted the add-get-model-options branch September 22, 2025 13:28
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