[DPG] A property defined in TypeSpec as "MyExtensibleEnum | null" should be generated as nullable #3600
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
DPG
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Not-GA-Required
Using version 20230714.1.
We're seeing this in the OpenAI library. Consider the following example in TypeSpec:
The code that is being generated for this model looks like this:
And its deserialization code looks like this:
In other words,
MyProperty
is not nullable, as opposed to what is specified in the TypeSpec.The text was updated successfully, but these errors were encountered: