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

Default values usage require explicit enabling (changed default setting) #227

Merged
merged 4 commits into from
Dec 16, 2022

Conversation

MateuszKubuszok
Copy link
Member

Due to a lot of issues caused by default values enabled by default (vide #176 (comment), #192, #200), this PR changes the default setting to .disableDefaultValues. From now .enableDefaultValues should be set explicitly.

This is a breaking change, but one which aims for more safety.

@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Base: 99.70% // Head: 99.70% // No change to project coverage 👍

Coverage data is based on head (858b946) compared to base (c6c7f4f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #227   +/-   ##
=======================================
  Coverage   99.70%   99.70%           
=======================================
  Files          26       26           
  Lines         672      672           
  Branches       61       58    -3     
=======================================
  Hits          670      670           
  Misses          2        2           
Impacted Files Coverage Δ
...main/scala/io/scalaland/chimney/dsl/FlagsDsl.scala 100.00% <ø> (ø)
...ney/internal/macros/TransformerConfigSupport.scala 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MateuszKubuszok MateuszKubuszok force-pushed the feature/disable-defaults-by-default branch 2 times, most recently from 2fc9ebc to d63254b Compare November 18, 2022 14:51
@MateuszKubuszok MateuszKubuszok added the benchmark Added to PRs which should be benchmarked label Nov 18, 2022
@MateuszKubuszok MateuszKubuszok temporarily deployed to benchmark November 18, 2022 15:14 Inactive
@MateuszKubuszok MateuszKubuszok added this to the 0.7.0 milestone Dec 16, 2022
@MateuszKubuszok MateuszKubuszok force-pushed the feature/disable-defaults-by-default branch from 197d3e7 to 3bf6745 Compare December 16, 2022 10:57
@MateuszKubuszok MateuszKubuszok temporarily deployed to benchmark December 16, 2022 11:00 — with GitHub Actions Inactive
@MateuszKubuszok MateuszKubuszok merged commit 6a2dcd9 into master Dec 16, 2022
@MateuszKubuszok MateuszKubuszok deleted the feature/disable-defaults-by-default branch December 16, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark Added to PRs which should be benchmarked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants