You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are some recommendation around improving IQuery<> and IQueryIndex<>
Add a way to create multiple joins on the same index. Currently when With<TIndex> is called multiple time, we assumed that the users want to join on the same index. This is fine in most/default case, but I think it would be much more helpful to allow the user to change that behavior by adding an alias parameter like something like this
IQueryIndex<TIndex> With<TIndex>(Expression<Func<TIndex, bool>> predicate, string alias = "") where TIndex : class, IIndex
With this change, we can say I want to join the same index multiple time if needed. Each time, a different alias value will have to be provided. When the same alias is used, then we use the existing join.
The text was updated successfully, but these errors were encountered:
Here are some recommendation around improving
IQuery<>
andIQueryIndex<>
With<TIndex>
is called multiple time, we assumed that the users want to join on the same index. This is fine in most/default case, but I think it would be much more helpful to allow the user to change that behavior by adding an alias parameter like something like thisWith this change, we can say I want to join the same index multiple time if needed. Each time, a different alias value will have to be provided. When the same alias is used, then we use the existing join.
The text was updated successfully, but these errors were encountered: