Matt Broadstone
Matt Broadstone
@wordempire it would be incredibly helpful if you could provide more information about what Ember-Data expects. I've never used that before.
@mikemimik it would be really helpful to know what you had to hack on the ember side of things. I'm sure this is a very simple problem to solve, we...
it looks like the main observable difference (from glancing at the docs for the rest adapter) is that returned results have root objects. Where we simply return the object itself...
@JasonWeh the middleware would look something like this: ``` resource.list.write.before((req, res, context) => { let endpoint = (Array.isArray(context.instance)) ? resource.endpoints.singluar : resource.endpoints.plural; let tmp = context.instance; context.instance = {}; context.instance[endpoint.name]...
@moxious yep you got it, although I would probably use the `resource.create.write.before` milestone in this case. At that point you can directly modify `req.body` as well as `context.attributes` (which will...
@moxious unfortunately documentation is limited. `context.attributes` is generally more useful in things like the [ReadController](https://github.com/dchester/epilogue/blob/master/lib/Controllers/read.js#L26), where the attributes are initially cached from the model associated with the resource [here](https://github.com/dchester/epilogue/blob/master/lib/Resource.js#L36). in...
@atulhm it may no longer be required in later versions of Sequelize. Please do try removing it and submit a PR, if all the tests pass I see no reason...
@danielo515 it looks like you might be facing a similar issue as #155. Could you provide a little more context or sample code regarding how you've implemented the milestone?
@atulhm I think the perceived "correct way" was in fact to not allow it in the first place. As you've noted, Sequelize did not (and perhaps will continue not to?)...
@asaf050 support for this is currently not implemented: https://github.com/dchester/epilogue/issues/34#issuecomment-126927625