Fix toJSON responses #24
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/hapi-sequelize-crud#24
Loading…
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)