data icon indicating copy to clipboard operation
data copied to clipboard

feat(createMany): add createMany api

Open themagickoala opened this issue 3 years ago • 1 comments

There have been a few times where I've found it would be useful to pass an array of model definitions to create, so I've added a createMany api. Happy to take direction on improvements, love what you're doing with this!

themagickoala avatar Sep 02 '22 15:09 themagickoala

@kettanaito thanks for this tool! btw is there a way we can merge this PR? I can help if there's a need to update the code in some way Thanks!

shairez avatar Apr 21 '25 16:04 shairez

Released: v1.0.0 🎉

This has been released in v1.0.0.

Get these changes by running the following command:

npm i @msw/data@latest

Predictable release automation by Release.

kettanaito avatar Sep 28 '25 18:09 kettanaito

congrats @kettanaito ! these are great news! Thanks for the hard work :pray:

shairez avatar Sep 28 '25 18:09 shairez

Thanks, @shairez. Much appreciated. This has been a ton of work!

kettanaito avatar Sep 28 '25 18:09 kettanaito

Thanks Artem, can't wait to try this out!

themagickoala avatar Sep 28 '25 18:09 themagickoala

Thanks! Let me know how it goes. See the .createMany() API for more details.

kettanaito avatar Sep 28 '25 18:09 kettanaito