Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Romakita opened this issue Dec 3, 2024 · 0 comments
Open
Assignees
Labels

Comments

@Romakita
Copy link
Collaborator

Romakita commented Dec 3, 2024

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

@Romakita Romakita self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant