Open guilhermeluizsp opened 4 years ago
Marked as priority because this is causing issues with a customer.
After looking into this, my take is that we should remove these bogus implementations from the base class since they are introducing problems rather than solving.
LightRepository
has two virtual methods for retrieving a collection of entities. They areGetAsync<T>(Expression<Func<T, bool>> predicate)
, andGetAsync<T>()
(I assume y'all know their difference given their signatures).CosmosDB
only overrides the former.So, if we want to retrieve every entity from a collection, we must do something like this: