Feat ordering by associated models now works #32
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#32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "more-order-integration"
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?
It's now possible to order by associated models. This technically might
have worked before b/c we were parsing JSON sent to
order
, but I'm prettysure it wouldn't actually work b/c we never grabbed the actual model to
associate by. Regardless, this actually enables things and adds tests to
prove it.
Note: there's a sequelize bug that's poorly reported but definitely known
where
order
with associated models can fail because the sql generateddoesn't include a join. So, I added docs noting that and a
test.failing
so that we'll be notified when that bug is fixed and canremove the note.
This is a minor release
Current coverage is 63.29% (diff: 100%)
Released as 2.9.0