quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

C#: support nullable contexts

Open stephtr opened this issue 5 years ago • 3 comments

Starting with version 8.0 C# supports nullable reference types, which quicktype currently doesn't.

stephtr avatar Jan 17 '21 13:01 stephtr

Maybe this help https://github.com/mixa3607/quicktype

mixa3607 avatar Apr 22 '21 16:04 mixa3607

@mixa3607 this looks good - you have support for partial classes in there as well. Why don't you submit a PR?

mindplay-dk avatar Jan 18 '22 09:01 mindplay-dk

Looks like this is a bit old at this point... I made some updates to add .C# 8 version flag that triggers all types to be marked nullable here: https://github.com/glideapps/quicktype/pull/2694

Flern avatar Mar 26 '25 18:03 Flern