SpoonX / sails-hook-wetland

A sails hook that enables the use of wetland ORM.
MIT License
9 stars 4 forks source link

Futureproofing for sails V1 #20

Closed edouardmenayde closed 7 years ago

edouardmenayde commented 7 years ago

Sails V1 removed custom blueprint thus we need some way to compensate for that. My inspiration came from https://github.com/sgress454/sails-hook-custom-blueprints who simply uses sails.registerAction which also happens to be something we can use to test to differentiate sails 0.* and 1.