While plainCodecEnumEntry is defined as implicit, I would rather prefer have plainCodecEnumEntryDecodeCaseInsensitive to be the default? Such that for query parameters, path segments and such the case sensitivity is ignored
How 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
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