dchester / epilogue

Create flexible REST endpoints and controllers from Sequelize models in your Express app
846 stars 116 forks source link

check sequelize instance on runtime #120

Closed wilzbach closed 8 years ago

wilzbach commented 8 years ago

In reference to #119, I think I makes sense to check the validity of the Sequelize instance on runtime.

This tiny attribute checking isn't perfect, but it will avoid errors when an invalid sequelize instance is passed to epilogue.

mbroadst commented 8 years ago

LGTM, thanks!