DynamicDtoEnumSerializer
constructor(serialName: String, entries: List<E>, pgConvention: CaseConvention = CaseConvention.SNAKE_CASE_UPPER, kotlinConvention: CaseConvention = CaseConvention.PASCAL_CASE)
Parameters
E
The enum type to serialize.
serialName
Name used in the serialization descriptor.
entries
List of all enum values (use EnumClass.entries).
pgConvention
Naming convention used in PostgreSQL (e.g., 'PENDING', 'in_progress').
kotlinConvention
Naming convention used in Kotlin enum (e.g., Pending, InProgress).