Closed daffl closed 9 years ago
To have all adapters work similar, we may want to change having to use new to instantiate a new service instance like:
new
// Connect to the db, create and register a Feathers service. app.use('todos', new nedbService('todos'));
to just a function call:
// Connect to the db, create and register a Feathers service. app.use('todos', nedb('todos'));
Oh nevermind you're using Uberproto right? I don't think the new is necessary at all. Mind if I update it in the docs?
Make it happen. Sounds good.
Closed via e19c8ff10ae69179f61eb7ce84d2a2969e700ca3
To have all adapters work similar, we may want to change having to use
new
to instantiate a new service instance like:to just a function call: