Fix toJSON responses #24
Reference in New Issue
Block a user
No description provided.
Delete Branch "use-json"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a non-obvious one. Hapi is happy to convert raw sequelize
instances to proper JSON (likely because Sequelize does nice things),
but we do that, we can't use
config.response.schema, because itreceives the full sequelize instance instead of JSON.
This is a patch release.
cc @mdibaiee
Thanks! 👍
Published as part of 2.6.2 (tag created for 2.6.1 which is just this change)