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] Inconsistency with decoding when deriving Pickler for enumerations #4076

Closed
KristianAN opened this issue Oct 2, 2024 · 0 comments · Fixed by #4093
Closed

[BUG] Inconsistency with decoding when deriving Pickler for enumerations #4076

KristianAN opened this issue Oct 2, 2024 · 0 comments · Fixed by #4093

Comments

@KristianAN
Copy link

KristianAN commented Oct 2, 2024

Tapir version: 1.11.5

Scala version: 3.5.1

Describe the bug
When using Pickler the decoder decodes to the wrong enum value. This does not happen if Schema is also derived.

How to reproduce?

https://scastie.scala-lang.org/av8hKPtIQgKdfx99vBApgA

Maybe related to #3900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant