-
Notifications
You must be signed in to change notification settings - Fork 30
Description
-
The FirstOrDefaultAsync(Func<T, bool> predicate) method takes the predicate 'Func<T, bool> predicate' which is taking a lot of time to execute, instead of Func<T, bool> predicate if we change to 'Expression<Func<T, bool>> predicate' it is working much faster ( at least 10 times faster).Is it an issue or a behavior?
-
The other issue with RemoveAsync is not working with the partitioned collection is because of even if 'RemoveAsync' method takes RequestOptions as a parameter which is not passed to GetDocumentByIdAsync(id).We might need a Get method which takes partition key as FeedOptions.
-
The WhereAsync methods return an IQueryable which is fine for most cases, but there are some issues I have faced with sharing context when WhereAsync used in the fully async code.It is very useful if you could provide an option for WhereAsync which returns the result after enumeration, like a List or similar.
-
update to the latest azure documentdb package