Matt Broadstone

Results 210 comments of Matt Broadstone

@asaf050 I'm not sure what you mean by "workaround"? Support is not implemented for auto associating self-referencing belongs-to-many relations, the workaround would be to implement support for that feature.

I think the correct answer here is one of two things: - either you explicitly delete the query items you know you don't want to be a part of the...

afaict its needless duplication, if you already have criteria in your `where`, and add more properties to it, the default behavior is to `and` it together.

Yes, you can use milestones to specify e.g. the attributes or include for a controller: ``` myResource.read.fetch.before(function(req, res, context) { context.attributes = ['some', 'list', 'of', attributes']; context.include = [ AndThisModel...

@xizhao hey that sounds like a cool idea, and would be pretty easy to implement. Unfortunately, I have very little time to dedicate towards new features for this project at...

@mark-lester do you have a question here?

@danielo515 most (if not) all of the controllers support an `options` property on the context which they pass to the relevant sequelize function (e.g. https://github.com/dchester/epilogue/blob/master/lib/Controllers/read.js#L50 which is set here: https://github.com/dchester/epilogue/blob/master/lib/Controllers/read.js#L20)....

@danielo515 this is because there is no defined `start` milestone for update. Try using `action` instead of `before` in your definition above. You would use `before` for `write` as an...

@danielo515 it does indeed look like `options` are not taken into account in the Update controller: https://github.com/dchester/epilogue/blob/master/lib/Controllers/update.js#L22. Having said that, it doesn't seem like Sequelize even supports `raw: true` for...

Scratch that, you want to pass raw into the initial fetch of the data, as you can see here Update uses Read's `fetch`: https://github.com/dchester/epilogue/blob/master/lib/Controllers/update.js#L20. That means that you'll want to...