v3: sourceKey feature for hasMany doesn't work if where clause specified in include (#7141) (#7147)
* Initial Commit * Stops test from removing test/integration/assets/es6project.js * Fixes impromper syntax when specifying the use of association.sourceIdentifier or left.primaryKeyAttribute for attrLeft. Also includes integration test. * Updates changelog. * Adds link to issue in changelog entry. * Added 'Future' header to changelog entry * Removed changelog update as requested. * Updates changelog. Fixes query-generator to properly build queries from hasMany even with an include while respecting a specified sourceKey. Adds an integration test. * Added back removed whitespace per request. * Updates test in include altered field name in source key. Fixes were then made to address the test breaking. All tests pass now. * Adds back removed whitespace.
Showing
with
53 additions
and
5 deletions
-
Please register or sign in to post a comment