Skip to content

EntityManager doesn't work with existing TypeORM project #47

@claytoncasey01

Description

@claytoncasey01

We are working with an existing TypeORM project and have been working on getting things moved over to Vesper recently. The samples work just fine but when we use our existing Database and TypeORM models the injected EntityManger in Controllers does not contain the needed connection data.

It does connect properly to the database, if we change the password it fails to start due to MySQL issues.

Here is a screenshot inside the startup of Vesper where the connection looks fine:
screen shot 2018-11-02 at 1 36 08 pm

After startup in the controller:
screen shot 2018-11-02 at 12 38 49 pm

Error in playground:
screen shot 2018-11-02 at 1 43 47 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions