mongo-csharp-driver
mongo-csharp-driver copied to clipboard
CSHARP-3941: ToString for "FilterDefinition" and "SortDefinition"
Added a simple "ToString()" override for "FilterDefinition" and "SortDefinition"
Hi @bernd5, thank you for your contribution.
Could you please open a related JIRA ticket and reference it in the PR? More details are available in the contribution guide.
This fixes not a bug but provides a reasonable ToString implementation for these two classes similar to other Definition-classes (like Pipelinedefinition)
@BorisDog: I created a JIRA ticket...
See comments in the JIRA ticket (including expanding the scope of this work to include all definition classes at the same time).
With the addition of LINQ3, this PR requires more work. We have closed this PR and we will track the work in CSHARP-3941.