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

The deprecated/alias ConnectionOptions type is no longer exported from typeorm #1235

Closed
2 of 4 tasks
eduardoconti opened this issue Apr 4, 2022 · 1 comment
Closed
2 of 4 tasks

Comments

@eduardoconti
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

'typeorm' >= 3.0 has no exported member named 'ConnectionOptions'
image

Minimum reproduction code

no

Steps to reproduce

try use typeorm >= 0.3.0 with nestJs

Expected behavior

The ConnectionOptions type is @deprecated as of [v0.3.0](typeorm/typeorm#8616 (2022-03-17).) The Connection type was also marked as @deprecated in this same version, but both types still have 'alias' types for backwards compatibility's sake. This is accomplished by declaring that ConnectionOptions extends DataSourceOptions and Connection extends DataSource, respectively:

Package version

8.0.3

NestJS version

8.4.1

Node.js version

15.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

@jmcdo29
Copy link
Member

jmcdo29 commented Apr 4, 2022

image

We are working on 0.3.0 support. Please see this PR to keep up with progress

@jmcdo29 jmcdo29 closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants