-
I use multiple shared collections in my app. I want to make sure that I injection the collection name for groups of entities. How can I accomplish that with Cosmonaut?
Currently, the only way to u…
-
I think that your implementation of `FirstOrDefaultAsync` is not cost-optimal.
In this line:
https://github.com/Elfocrash/Cosmonaut/blob/33b7e6625150019d892d81a0b5c5f7d6981bcad6/src/Cosmonaut/Exte…
-
Hi, I've a test for NotFound resource by using wrong id.
DocumentClient throw this exception "Microsoft.Azure.Documents.DocumentClientException: Message: {"Errors":["Resource Not Found"]}" in Visual …
-
Is there any way through this library (or the SDK even) to adjust the scale of the new database level scaling feature (where you can have many collections share the same RU/s limit).
I did find thi…
-
hi,
in my project I need to add some audit property (CreatedBy, CreatedAt, etc...), is possible to remove sealed from CosmosStore class and add virtual to its methods?
If you agree I can do a PR fo…
-
Can we share a collection between multiple entities? The RUs are causing big spike in cost as I have quite de-normalized data structure, can different entities point to single collection and same can …
-
Hi,
I'm seeing the following since updating to the latest version of Cosmonaut. Where/how would I best enable Cross partition query, can't seem to find it.
Many thanks, L
Cross partition query i…
-
Awesome library!! However, when I use `CountAsync` I get a query that looks like this:
```
{"query":"SELECT VALUE root FROM root WHERE (root[\"AccountId\"] = XXXXX) "}
```
The regular Count() f…
-
I am facing the following problems with Moq. I am mocking an `ICosmosStore` repository to write unit tests in the service layer.
```
var fakeDataRepo = new Mock();
var fakeData = Factory.CreateFa…
-
A pattern I've used with Azure's SQL Server and Postgres PaaS offerings is to use a single instance to hold data for all our test environments (e.g. dev, test, qa), by using database schemas. For exam…