[CSHARP-2622] IdGenerator not working for inserts after using oftype on collection Created: 29/May/19 Updated: 11/Oct/19 Resolved: 11/Oct/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | 2.8.1 |
| Fix Version/s: | 2.9.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | boppbo | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 10 1809, Azure CosmosDB Emulator 2.1.3 |
||
| Attachments: |
|
| Description |
|
Id generator not working when using oftype on collection to insert document. See attached example. It will insert Guid.Empty. After commenting out oftype (line 14) it works.
Is there a known workaround? |
| Comments |
| Comment by Githook User [ 11/Oct/19 ] |
|
Author: {'username': 'rstam', 'email': 'robert@robertstam.org', 'name': 'rstam'}Message: |
| Comment by Githook User [ 11/Oct/19 ] |
|
Author: {'name': 'rstam', 'username': 'rstam', 'email': 'robert@robertstam.org'}Message: |