Open guypritchard opened 2 years ago
Have a look at https://github.com/Azure/azure-cosmos-dotnet-v3/issues/893 for some tips on how to restructure the code to make these queries more testable.
Equally we could just use the ToQueryDefinition
extension method to get this over the line.
Weak 2
There are some complications around unit testing the Linq provider in CosmosDB.
The Linq Provider is work having in the codebase it really simplifies logic and avoids length SQL strings. The code needs a few changes to deal with this as a test for the new GetAll API to prove it works.
Acceptance Criteria