sghribi / loopback-fixtures

ISC License
18 stars 21 forks source link

Using custom generator #2

Open CyrilleHugues opened 8 years ago

CyrilleHugues commented 8 years ago

Hi @sghribi

I wish to avoid using function in my fixtures. To reach this goal, I want to set custom helpers. I aim to change your module to get this signature:

# set custom helpers
# return app
app.fixtures.use customHelpers

# load fixtures
# return Promise 
app.fixtures.load()

Can I submit a pull request according to this goal ?

Thanks for your work ;) Cyrille

sghribi commented 8 years ago

Hi @CyrilleHugues

Yes, that's a great and useful feature!

Thanks for any enhancements you could provide to this module :)