[BUG] Use enums + Enum on discriminator key cause deserialization error
Maintainers usually reply within 1 day
@Romakita is already working on this.
Since Dec 3, 2024.
Assessment
This issue has not been assessed yet.
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
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 295
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tsedio/tsed
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
perf(platform-fastify): the integration keeps ~70% of raw Fastify on GET /hello, half of the overhead is outside Ts.ED codePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
manually bump balena-preload to ^19.0.6Possibly taken @shaunmulligan claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
balena-io/balena-cli#3200 ·
Maintainers usually reply within 1 day
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMPossibly taken @olegius88 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melgarafael/DeskcommCRM#5340 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Maintainers usually reply within 1 day