[BUG] Use enums + Enum on discriminator key cause deserialization error #2913
Open
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