ALPHA: This is an experimental mixin for LoopBack 4, and is not currently
supported for any production purpose. Instructions and APIs may change without
warning.
Usage
Install this plugin
npminstall--saveloopback-typeorm
In your application, make your own Application class, but instead of
extending Application, you'll want to call the provided mixin as your base
class.
Create a connection (or multiple!) in your new subclass, and define
whatever repositories you'd like to create.
A helpful way to ensure that your configuration has all of the required values
is to import the ConnectionOptions type from TypeORM directly.
Note: There are connection options that become required within different
use cases and contexts. For info on how to configure your database connection,
see the TypeORM docs.