You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArcturusZhang
changed the title
tcgc label nullnable to property/parameter instead of type, Codegen need to adapt
tcgc label nullable to property/parameter instead of type, Codegen need to adapt
May 13, 2024
ArcturusZhang
changed the title
tcgc label nullable to property/parameter instead of type, Codegen need to adapt
tcgc label nullable to property/parameter instead of type, Codegen need to adopt
May 13, 2024
ArcturusZhang
changed the title
tcgc label nullable to property/parameter instead of type, Codegen need to adopt
Emitter needs to adopt TCGC's recent changes on nullableMay 13, 2024
Latest decision is to deprecate all nullable, and return union for nullable types in TCGC. There will be a helper function isNullable to help check if the type is nullable. For details, see Azure/typespec-azure#870
TCGC will label
Nullable
on property/parameter instead of type.Codegen emitter will adapt this:
Nullable
on property/parameterNullable
in CsharpType, update the TypeFactory.cs to passNullable
parameter when create CsharpType.The text was updated successfully, but these errors were encountered: