Skip to content

Missing BaseEntity in typeorm-model-shims.js #8269

@blemoine167

Description

@blemoine167

Feature Description

Allow to shim entities extending "BaseEntity".

The Problem

Today, typeorm-model-shims.js does not cover "BaseEntity" class.

The Solution

Add BaseEntity in typeorm-model-shims.js.

Considered Alternatives

Create separate DTOs or make my own shim...

Additional Context

Using the models client side in an Angular app

Relevant Database Driver(s)

DB Type Relevant
aurora-data-api no
aurora-data-api-pg no
better-sqlite3 no
cockroachdb no
cordova no
expo no
mongodb no
mysql no
nativescript no
oracle no
postgres no
react-native no
sap no
sqlite no
sqlite-abstract no
sqljs no
sqlserver no

Are you willing to resolve this issue by submitting a Pull Request?

  • ✖️ Yes, I have the time, and I know how to start.
  • ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️ No, I don’t have the time, but I can support (using donations) development.
  • ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions