Skip to content

Zero as a discriminator value #3891

@menixator

Description

@menixator

Due to this line, I am unable to use 0 as a discriminator value. Is this intended?

if (discriminatorValue) {

Currently working around it by starting the enum I use to hold the discriminators from 1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions