-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raw: false,
does not work with with Buzzard
#184
Comments
I checked, but in the 'before upgrade version' the query also works when I leave So my question now is: why does it not work anymore with Btw, the package.json of the 'before upgrade version':
|
raw: false,
not necessary with Buzzard?!raw: false,
does not work with with Buzzard
After adding a dehydrate hook (as an after hook) the output is as expected. Not clear to me why before upgrading this was not an issue... |
I don't think anything in that regard should have changed, I'm wondering why that makes a difference. @DesignByOnyx did you try to upgrade already and maybe ran into this issue? |
Before upgrade I had these hooks:
After upgrade:
So |
Probably. It expects a plain object and makes a shallow copy (via |
Just wanted to leave a comment here for some closure. By default, sequelize defaults to You say that using
Hope that helps anybody else coming here. If you still have questions, come to the "sequelize" room in Feather's Slack. |
This hook on my server:
When called from client with (I am using websockets):
api.service('users').get(2, {query: {include: true}})
Gives this error (btw: when I leave out the inner
include: [{ model: pointsModel }]
, same error remains):When I comment out
raw: false,
it gives proper output.This hook worked fine with
raw: false,
before upgrading to feathers Buzzard (with matching assistance libraries). My current package.json for the server has these:What is going on? Why does my query suddenly work without
raw: false,
??The text was updated successfully, but these errors were encountered: