[CSHARP-4564] Write a custom serializer for ValueTuples Created: 09/Mar/23 Updated: 28/Oct/23 Resolved: 15/Mar/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | None |
| Fix Version/s: | 2.19.1 |
| Type: | New Feature | Priority: | Unknown |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||||||
| Description |
|
ValueTuple is currently serialized using a BsonClassMapSerializer. We should write a custom ValueTupleSerializer that works the same way as the existing TupleSerializer. In particular, it should serialize ValueTuples as arrays. |
| Comments |
| Comment by Githook User [ 24/Mar/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 15/Mar/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |