Replies: 2 comments
-
Hi @ryanheath This is used to determine if HTTP compression (UseHttpCompression) should be used at all and which HTTP compression algorithm (HttpCompressionAlgorithm) should be used over the wire. You can get instance of DocumentConventions from either DocumentStore.Conventions (global conventions) or since you are asking for a command, then you probably are operating on RequestExecutor, so there is a field there - Conventions (those are global conventions with applied client configuration for that database). I hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Hey @ppekrol, I got it working (compiling) with
To be honest, it feels like something that could have been handled internally in Thanks! // Ryan |
Beta Was this translation helpful? Give feedback.
-
We want to upgrade the client to 6.0.101
but GetDocumentsCommand ctor wants a DocumentConventions now.
What's it for, the 6.0 documentation does not list this new parameter.
There are Default instances of DocumentConventions but they are internal only.
// Ryan
Beta Was this translation helpful? Give feedback.
All reactions