Even though the setup method isn't called, the services work properly.
// app.js
require('feathers')()
.configure(function () {
var app = this;
app.use('/setup', {
get : function (id, params, callback) {
callback(null, {});
},
setup : function (app) {
console.log('setup');
}
});
setTimeout(function () {
app.use('/nosetup', {
get : function (id, params, callback) {
callback(null, {});
},
setup : function (app) {
console.log('no setup :(');
}
});
}, 100);
})
.listen(8080);
Even though the
setupmethod isn't called, the services work properly.