Skip to content

Commit eb6cf38

Browse files
authored
Merge pull request #39 from codepb/fixQueries
fix Has(Expression<T, bool> expr) to properly continue
2 parents 84edd01 + c1f2e08 commit eb6cf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DDDToolkit.Querying/QueryBuilderContinuation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ internal QueryBuilderContinuation(Func<Query<T>, Query<T>> continueWith)
1616
public QueryBuilderExpression<T, TProp> Has<TProp>(Expression<Func<T, TProp>> expression)
1717
=> new QueryBuilderExpression<T, TProp>(expression, _continueWith);
1818

19-
public Query<T> Has(Expression<Func<T, bool>> query) => new Query<T>(query);
19+
public Query<T> Has(Expression<Func<T, bool>> query) => _continueWith(new Query<T>(query));
2020
}
2121
}

0 commit comments

Comments
 (0)