Skip to content
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

feat(core): re-export the core package from all drivers #3816

Merged
merged 1 commit into from
Dec 3, 2022
Merged

Commits on Dec 3, 2022

  1. feat(core): re-export the core package from all drivers

    Every driver now reexport the whole `@mikro-orm/core` package. This means
    we no longer have to think about what package to use for imports, the driver
    package should be always preferred.
    
    ```diff
    -import { Entity, PrimaryKey } from '@mikro-orm/core';
    -import { MikroORM, EntityManager } from '@mikro-orm/mysql';
    +import { Entity, PrimaryKey, MikroORM, EntityManager } from '@mikro-orm/mysql';
    ```
    B4nan committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    7d7bce0 View commit details
    Browse the repository at this point in the history