-
Notifications
You must be signed in to change notification settings - Fork 399
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
Relaxed enumeratum codecs #3711
Comments
Is this still relevant, otherwise we could close this? |
I don't now :) What's the behavior of other enum codecs? What are the defaults usually? That would need spending some time on to research properly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tapir version: 1.10.5
Scala version: 2.12.12
Describe the bug
The
TapirCodecEnumeratum
contains two methodsWhile
plainCodecEnumEntry
is defined as implicit, I would rather prefer haveplainCodecEnumEntryDecodeCaseInsensitive
to be the default? Such that for query parameters, path segments and such the case sensitivity is ignoredHow to reproduce?
Define a enumeratum enum and use it an query param of path segment while changing the expected casing, it will break fairly easy
Additional information
The text was updated successfully, but these errors were encountered: