w3tecch / typeorm-seeding

🌱 A delightful way to seed test data into your database.
https://www.npmjs.com/package/typeorm-seeding
MIT License
887 stars 132 forks source link

Add typeorm SaveOptions to `create` and `createMany` factory methods #107

Closed sfelix-martins closed 3 years ago

sfelix-martins commented 3 years ago

Problem

I want disable listeners and subscribers from some Entity on creation.

Solution Proposed

Added typeorm SaveOptions to create and createMany methods to make them more flexible.

Backwards Compatibility

The added param is optional. No breaking changes.

RaphaelWoude commented 3 years ago

Looks good to me. Thank you for your contribution.