docs(typeorm): add info for registering connection
I tried using @loopback/typeorm locally and suddenly getting an error because connection was not coming Then I got an idea to register the connection somewhere in application.ts which was also missing in the doc. Hence the PR.
Signed-off-by: bhavyasf [email protected]
Hi @bhavyasf, thanks for the PR!
Unfortunately LB4 docs are not edited here, but rather at https://github.com/loopbackio/loopback-next/tree/master/extensions/typeorm/README.md.
In addition, there is also a TypeORM Connection Booter which means this manual registration should not be necessary:
https://github.com/loopbackio/loopback-next/blob/master/extensions/typeorm/src/typeorm-connection.booter.ts#L69
closing this PR per the above comment.