[CSHARP-2392] ChangeStreamDocument.ClusterTime should be serialized as Timestamp Created: 21/Sep/18 Updated: 28/Oct/23 Resolved: 04/Oct/18 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | 2.7.0 |
| Fix Version/s: | 2.7.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | John Murphy | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Case: | (copied to CRM) |
| Description |
|
Attempting to access ChangeStreamDocument.ClusterTime results in a System.FormatException as we are trying to deserialize a BsonTimestamp as a BsonDocument. According to the spec this value is a Timestamp, so we should treat it accordingly. |
| Comments |
| Comment by Githook User [ 06/Nov/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 06/Nov/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 06/Nov/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by John Murphy [ 21/Sep/18 ] |
|
Previously ClusterTime was broken so I don't think backwards compatibility of changing the return type is of concern. |