C# Renderer with --features just-types
doesn't include required using
s.
#2523
Labels
bug
C#
C# Output
good first issue
Not necessarily easy, but doesn't require deep quicktype knowledge
rendering
If you run the C# renderer with
--features just-types --array-type list
then it createsList<T>
properties, but doesn't add the requiredusing System.Collections.Generic;
. It also happens without the--array-type list
if aDictionary<K,V>
is generated as a property.This is due to the checks here, with FIXMEs from 6 years ago pointing out this exact bug.
quicktype/packages/quicktype-core/src/language/CSharp.ts
Line 851 in 916cd94
quicktype/packages/quicktype-core/src/language/CSharp.ts
Line 1579 in 916cd94
The text was updated successfully, but these errors were encountered: