- 
    Type:Bug 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: 2.8.1
- 
    Component/s: Serialization
- 
    None
- 
    Environment:Windows 10 1809, Azure CosmosDB Emulator 2.1.3
 Reproduced with both dotnet core 2.2 / 3.0 Preview 5
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
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?