Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.
This repository was archived by the owner on May 22, 2026. It is now read-only.

The default of an optional constant should be None  #893

Description

@Juliehzl

For an optional enum type with only one item, we will expect the default value is None not non-None value.
Because with a non-None value, it will change the operation behavior, which is breaking change to customer.

modelAsString to true could resolve the issue, but adding such change will cause breaking change to .Net SDK.
So we will hope python generator could fix the issue asap.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions