Skip to content

[BUG] Use enums + Enum on discriminator key cause deserialization error #2913

Open
@Romakita

Description

Describe the bug

@DiscriminatorValue(EventType.EVENT)
class MyChild extends Base {
  @Enum(EventType)
override eventType: EventType = EventType.EVENT
}

rel: See https://github.com/pxr-tech/tsed-sample/pull/4/files

To Reproduce

TBD

Expected behavior

TDB

Code snippets

No response

Repository URL example

No response

OS

macOs

Node version

Node v20

Library version

v7 - v8

Additional context

No response

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions