-
Notifications
You must be signed in to change notification settings - Fork 8
Feature: Add functionality to seed data #7
Comments
Interesting idea, in the interim we could add a bulk create method called |
@cmwhited I can take this one on, so we are thinking about adding What are your thoughts about using a library like this one? |
Yeah that was my thought. Something like |
And, going back to the |
Add need seed method on InMemoryDBService with ability to set amount and record factory for generation. impl #7
Add need seed method on InMemoryDBService with ability to set amount and record factory for generation. impl #7
Add new seed method to InMemoryDBService Closes #7
Add new seed method to InMemoryDBService Closes #7
🎉 This issue has been resolved in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Is your feature request related to a problem? Please describe.
It would be a nice addition, since this lib is used largely for quick prototyping, to be able to seed some initial data of the generic type for the service.
Describe the solution you'd like
Create a
seed
method that takes an input:amount: number
of how many records to seed (could have default value like 10). Method creates this amount of random records to store in memory to seed the service and provide a basic initial set of data.The text was updated successfully, but these errors were encountered: