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

fix: support default values for case class fields #303

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

dos65
Copy link
Collaborator

@dos65 dos65 commented Jun 26, 2024

Prevously, default values wasn't supported at all - the json were required to have the field in json even if it was default.

Implements proper support for default values both for scala2 and scala3.

Fixes #300

Prevously, default values wasn't supported at all - the json were
required to have the field in json even if it was default.

Implements proper support for default values both for scala2 and scala3.
@dos65 dos65 merged commit 839ad8d into tethys-json:master Jun 27, 2024
4 checks passed
@dos65 dos65 deleted the default_fields_fix branch June 27, 2024 09:34
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

Successfully merging this pull request may close these issues.

Compile Error in Tethys 0.28.3 with Derivation for Case Classes with Default Parameters
1 participant