Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

docs: SchemaHelper is not exported from core rather than knex? #4327

Closed
Clex1o1 opened this issue May 6, 2023 · 0 comments
Closed

docs: SchemaHelper is not exported from core rather than knex? #4327

Clex1o1 opened this issue May 6, 2023 · 0 comments

Comments

@Clex1o1
Copy link

Clex1o1 commented May 6, 2023

Hi there! In the documentation I found the section about custom driver. It tells me to implement a Schema class which extended the SchemaHelper class: https://mikro-orm.io/docs/custom-driver#schemahelper

import { SchemaHelper } from '@mikro-orm/core';

export class MyCustomSchemaHelper extends SchemaHelper {

SchemeHelper is not exported from @mikro-orm/core but I found it in the knex package. Should the documentation be corrected to install the knex package and import the class from it? Or did I miss something im my setup?

@mikro-orm mikro-orm locked and limited conversation to collaborators May 6, 2023
@B4nan B4nan converted this issue into discussion #4328 May 6, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant