ferryjs / ferry

Ferry is (yet another) REST API framework.
3 stars 3 forks source link

ORM agnostic? #2

Open desmondmorris opened 9 years ago

desmondmorris commented 9 years ago

it may make sense to explore the possibility of decoupling Waterline. Will this provide value? What are the other viable candidates.

jfelixetcetera commented 9 years ago

Having it be decoupled from Waterline will be crucial eventually, though it's a good base layer to start. Whether the user wants another full ORM or a db-specific one, to be useful we will have to be more flexible.

Obviously this will make it more complex, but it should be fairly simple to define a common interface ORMs need to match, and create simple adapters to bridge ones that don't.

desmondmorris commented 9 years ago

@joshuajabbour +1