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

Improve naming and delete unnecessary Mode #1526

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

henriquemoody
Copy link
Member

I don't expect us to have more modes, hence a simple boolean value should be enough for indicating the mode of the teamplate. Apart from that, the name "inverted" woudln't always make sense, because if you invert something that is inverted, it gets back to its original mode.

This commit will remove the Mode enum, and also improve the naming of some methods in the Result.

I don't expect us to have more modes, hence a simple boolean value
should be enough for indicating the mode of the teamplate. Apart from
that, the name "inverted" woudln't always make sense, because if you
invert something that is inverted, it gets back to its original mode.

This commit will remove the `Mode` enum, and also improve the naming of
some methods in the `Result`.
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.66%. Comparing base (c096fb0) to head (901774f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1526   +/-   ##
=========================================
  Coverage     96.66%   96.66%           
+ Complexity     1020     1019    -1     
=========================================
  Files           206      206           
  Lines          2548     2551    +3     
=========================================
+ Hits           2463     2466    +3     
  Misses           85       85           

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

@henriquemoody henriquemoody merged commit 901774f into Respect:main Jan 17, 2025
8 checks passed
@henriquemoody henriquemoody deleted the core/mode branch January 17, 2025 09:56
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