I wanted to use TypeORM together with TypeGraphQL.
TypeGraphQL even has an example for this case.
But when I use it like that and try to generate migrations from that (using the TypeORM CLI and running migration:generate), nothing happens.
There is no error in the log, no other log, nothing.
This is the command I’m running:
ts-node -P tsconfig.typeorm.json --log-error -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:generate -n UserEntity
Issue on GitHub: https://github.com/typeorm/typeorm/issues/4361