mongo-csharp-driver icon indicating copy to clipboard operation
mongo-csharp-driver copied to clipboard

CSHARP-3941: ToString for "FilterDefinition" and "SortDefinition"

Open bernd5 opened this issue 3 years ago • 4 comments

Added a simple "ToString()" override for "FilterDefinition" and "SortDefinition"

bernd5 avatar Oct 29 '21 13:10 bernd5

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.

BorisDog avatar Oct 29 '21 17:10 BorisDog

This fixes not a bug but provides a reasonable ToString implementation for these two classes similar to other Definition-classes (like Pipelinedefinition)

bernd5 avatar Oct 29 '21 18:10 bernd5

@BorisDog: I created a JIRA ticket...

bernd5 avatar Nov 02 '21 23:11 bernd5

See comments in the JIRA ticket (including expanding the scope of this work to include all definition classes at the same time).

rstam avatar Nov 18 '21 22:11 rstam

With the addition of LINQ3, this PR requires more work. We have closed this PR and we will track the work in CSHARP-3941.

JamesKovacs avatar Apr 12 '24 18:04 JamesKovacs