Damian Romanowski
Damian Romanowski
I think the converter could be simplified to only use properties from `IOneOf` interface https://github.com/mcintyre321/OneOf/blob/014d68f723e1b772987f50c82016e6bfc09ee3f5/OneOf/IOneOf.cs#L3-L7 and it could be used for both serialization and deserialization
If we choose to stay with `As/IsT1` we can add XML comments with appropriate descriptions explaining what 0/1/2 stands for eg: ![image](https://user-images.githubusercontent.com/33402460/132863722-c28f1977-e54a-48c2-a77e-c155862824b7.png) but we will have similar problem because there...
source generator simply generates new .cs files and you cant generate file that matches this: ```csharp public class MyClass { [GenerateOneOf] public partial class Result : OneOfBase {} } ```...
oh it also does not work, @mcintyre321 something must be wrong with AppVeyor build😿