Closed tarag closed 1 year ago
Looks from the unit tests like you also need to update the complex join operators unit test (the one in FluentKitTests, not FluentBenchmark).
Thanks for the help, I committed your changes and added the necessary fixes to FluentKitTests.
Merging #555 (3b073a4) into main (dd6b7f8) will decrease coverage by
0.03%
. The diff coverage is0.00%
.:exclamation: Current head 3b073a4 differs from pull request most recent head 873e542. Consider uploading reports for the commit 873e542 to get more accurate results
Allows eager-loading of soft-deleted models. For maximum flexibility, choosing whether to load soft-deleted models or not is performed for each relation at each query call.
Usage is as follows:
let galaxies = try Galaxy.query(on: self.database).with(\.$stars, withDeleted: true)
Use of default argument value of false requires no change to existing code to keep existing behaviour.
Fixes #375.