[CSHARP-3314] LINQ3: Implement Known Serializers strategy Created: 11/Jan/21  Updated: 28/Oct/23  Resolved: 06/Oct/21

Status: Closed
Project: C# Driver
Component/s: LINQ3
Affects Version/s: None
Fix Version/s: 2.14.0

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: James Kovacs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-2723 Select() inside Project() does not pr... Closed
Epic Link: CSHARP-2608
Backwards Compatibility: Major Change

 Description   

The LINQ translator often needs to know what serializer should be used at a particular node of the expression tree. In LINQ3 we will use a more general purpose strategy of gathering up all known serializers for a node in the tree. The known serializers for each node are the set of serializers known by the child nodes. This will provide a single strategy for finding a serializer when we need one, and will also allow us to throw an exception if there are multiple conflicting serializers. 



 Comments   
Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-3314: Add a Create factory method to TranslationContext.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/547570b6ea506803f0ee1782686b6a4d83529987

Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'James Kovacs', 'email': 'jkovacs@post.harvard.edu', 'username': 'JamesKovacs'}

Message: CSHARP-3314: Implement Known Serializers strategy.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/be9b610802640fa4fd813a99008e485d6a674d65

Generated at Wed Feb 07 21:44:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.