You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike most sequelize methods such as findAll where the raw option causes sequelize to return raw JSON data, this option bizarrely means something completely different for Model.create (see sequelize docs):
options.raw: If set to true, values will ignore field and virtual setters.
The text was updated successfully, but these errors were encountered:
buske
added a commit
to rareconnect/feathers-sequelize
that referenced
this issue
May 10, 2017
Model setters are now being ignored on Model create. This error was introduced in commit c375111 as part of the feathers-sequelize 2.0 upgrade. In particular, this line: c375111#diff-1fdf421c05c1140f6d71444ea2b27638R115
Unlike most sequelize methods such as
findAll
where theraw
option causes sequelize to return raw JSON data, this option bizarrely means something completely different forModel.create
(see sequelize docs):The text was updated successfully, but these errors were encountered: