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

feat: allow easier usage of exhaustruct linter #14

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

lefinal
Copy link
Owner

@lefinal lefinal commented Feb 2, 2024

Adds the exhaustruct-optional-tag to value fields of nullables. This still enforces setting valid to false if providing a null value but not the content field. For setting a non-null value, users are still expected to use the constructor functions.

Adds the exhaustruct-optional-tag to value fields of nullables. This still enforces setting valid to false if providing a null value but not the content field. For setting a non-null value, users are still expected to use the constructor functions.
@lefinal lefinal self-assigned this Feb 2, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a59c151) 93.06% compared to head (d3c0726) 93.06%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   93.06%   93.06%           
=======================================
  Files          17       17           
  Lines         476      476           
=======================================
  Hits          443      443           
  Misses         22       22           
  Partials       11       11           
Flag Coverage Δ
unittests 93.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lefinal lefinal merged commit 71da889 into main Feb 2, 2024
12 checks passed
Copy link

github-actions bot commented Feb 2, 2024

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant