We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b3cb64 commit fa8d815Copy full SHA for fa8d815
README.md
@@ -34,9 +34,10 @@ Configure TypeORM in your app to use the TypeDI container before you create a co
34
35
```ts
36
import { createConnection, useContainer } from 'typeorm';
37
-import { Container } from 'typedi';
+import { Container } from 'typeorm-typedi-extensions';
38
+// ▲ Notice how we import container from this library, instead of TypeDI.
39
-/** Tell TypeORM to use the TypeDI container to resolve it's dependencies. */
40
+/** Tell TypeORM to use the container provided by this lib to resolve it's dependencies. */
41
useContainer(Container);
42
43
/** Create a connection and start using TypeORM. */
0 commit comments