This project is a minimum viable example to illustrate an issue with TypeORM ManyToMany relationship inserts via Docker.
To run this example you will need bash
and docker-compose
installed.
To reproduce the issue, run the following:
# Clone this gist
$ git clone https://gist.github.com/b86f60fc5a885301f5ca883d9b8dddfe.git type-orm-issue-11060
$ Change into the directory
$ cd type-orm-issue-11060
# Install npm dependencies
$ docker-compose run --rm dev npm install
# Run the example
$ docker-compose run --rm dev npm test
This will run ./src/index.ts
and result in an error illustrating the issue.