Skip to content

there is no Unique decoration export in typeorm-model-shim #5920

@j1i-ian

Description

@j1i-ian

Issue type:
[v] feature request

TypeORM version:
[v] latest

Hello, I'm developer who loves typeorm that holy powerful and super comfortable ORM framework since using Hibernate.

I found the error on my front-end when use typeorm-shims with @Unique decorators in entity.

typeorm shim.js is set on tsconfig. but after when I add @unique decoration, In my case, Angular framework throw webpack_imported_module _9_ default(...) is not a function error.

I was manually patching Unique fake function to typeorm-model-shim.js, then fixing this issue.

Can you add Unique for typeorm shims? Or How can I support for you?
I hope to help typeorm. Typeorm has insufficient features but the best on all javascript ORM. I'm totally fan of you.

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