thosakwe / feathers-seeder

Straightforward data seeder for Feathers.js services. Promise-based.
https://docs.feathersjs.com/guides/seeding-services.html
MIT License
38 stars 6 forks source link

question: creating users from predefined data #4

Closed jamesholcomb closed 7 years ago

jamesholcomb commented 7 years ago

I have the need to load a set of static user data from a predefined JSON file (they are actual users from an external OAuth provider), rather than generating from a template.

The configuration allows an array of templates that are selected randomly, but that won't guarantee all users are loaded.

What do you recommend?

thosakwe commented 7 years ago

Hi, just saw your fork, and I like the idea of a randomize flag. Just add some tests, and we can get a PR going.