dchester / epilogue

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

Returning context.continue for Milestone create.auth #206

Closed micksatana closed 7 years ago

micksatana commented 7 years ago

In document says we should do

return context.continue;

in some other example on the Internet, I see some return like the following

return context.continue();

So, I assume we can use both (pls correct me if i'm wrong about the usage)

But for milestone create.auth, only accept return context.continue();

if using return context.continue; it will keep on waiting

ps. i'm using epilogue 0.7.1, sequelize 3.24.3, Node 6.7.0

micksatana commented 7 years ago

My apology. I already find out why.

If use callback style of coding, should use.. return context.continue();

If use Promise style of coding, should use.. return context.continue;