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

[Feature] Semi-auto enum schema derivation configuration #3737

Open
pslaski opened this issue May 2, 2024 · 0 comments
Open

[Feature] Semi-auto enum schema derivation configuration #3737

pslaski opened this issue May 2, 2024 · 0 comments

Comments

@pslaski
Copy link

pslaski commented May 2, 2024

Scala version: Scala 3

Describe the feature
In some types of derivation we can manually choose how to transform member names by Configuration (f.e. snake_case, kebab-case etc).
For deriving enum's schema by using Schema.derivedEnumeration we have only two options: defaultStringBased or writing our own transformation to raw string value. It would be useful to have different options like above out of the box

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

No branches or pull requests

1 participant