We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tapir version: 1.0.0-M4
1.0.0-M4
Scala version: 2.12.12
2.12.12
Describe the bug
oneOfUsingField fails for case object enums that extend enumeratum.EnumEntry. This bug is similar to #1950.
oneOfUsingField
enumeratum.EnumEntry
How to reproduce?
I created a reproducer #1976. It fails at compile time.
[error] /home/seglo/source/tapir/integrations/enumeratum/src/test/scala/sttp/tapir/codec/enumeratum/TapirCodecEnumeratumTest.scala:138:83: type mismatch; [error] ee.type|OfferType with scala.Product with java.io.Serializable [error] Schema.oneOfUsingField[CreateOfferRequest, OfferType](_.`type`, _.entryName)( [error] ^
The text was updated successfully, but these errors were encountered:
Thank you, Adam!
Sorry, something went wrong.
No branches or pull requests
Tapir version:
1.0.0-M4
Scala version:
2.12.12
Describe the bug
oneOfUsingField
fails for case object enums that extendenumeratum.EnumEntry
. This bug is similar to #1950.How to reproduce?
I created a reproducer #1976. It fails at compile time.
The text was updated successfully, but these errors were encountered: