Fix: include option api correction #6

Merged
joeybaker merged 1 commits from fix-include into master 2016-07-09 04:43:14 +00:00
joeybaker commented 2016-07-06 01:33:21 +00:00 (Migrated from github.com)

AFAIK, hapi-sequelize doesn't have a request.models, but it does have
a request.getDb() method that has models on it. This calls that
method to get the related models, but allows request.models to keep
working for backward compatibility.

AFAIK, hapi-sequelize doesn't have a `request.models`, but it does have a `request.getDb()` method that has `models` on it. This calls that method to get the related models, but allows `request.models` to keep working for backward compatibility.
joeybaker commented 2016-07-08 22:28:45 +00:00 (Migrated from github.com)

@mdibaiee updated.

@mdibaiee updated.
mdibaiee commented 2016-07-09 04:43:17 +00:00 (Migrated from github.com)

Thank you!

Published hapi-sequelize-crud@2.1.1, aa06808ab2.

Thank you! Published `hapi-sequelize-crud@2.1.1`, aa06808ab29b9f279494ce40ff7c20cff0fc22fb.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: thereadme/hapi-sequelize-crud#6
No description provided.