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

♻️Allow custom units to set UnitInfo.QuantityName #1421

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

angularsen
Copy link
Owner

Related #1418
Port of #1420

  • Make UnitInfo ctor public, to accept quantity name for custom units
  • Add null checks to ctors, and require quantity name in ctor that takes one
  • Mark ctor without quantity name obsolete

- Make ctor, which takes quantity name, public
- Add null checks to ctors, and require quantity name in ctor that takes one
- Mark ctor without quantity name obsolete
@angularsen angularsen merged commit 7543402 into release/v6 Aug 31, 2024
1 check was pending
@angularsen angularsen deleted the agl/v6-unitinfo-ctor branch August 31, 2024 20:13
Copy link

codecov bot commented Aug 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85%. Comparing base (ebe0b32) to head (82e87e0).
Report is 1 commits behind head on release/v6.

Additional details and impacted files
@@            Coverage Diff             @@
##           release/v6   #1421   +/-   ##
==========================================
  Coverage          85%     85%           
==========================================
  Files             298     298           
  Lines           30572   30576    +4     
==========================================
+ Hits            26175   26179    +4     
  Misses           4397    4397           

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

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.

1 participant