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

Hide theme fields for serialization from public interface #8907

Merged
merged 2 commits into from Mar 1, 2021
Merged

Hide theme fields for serialization from public interface #8907

merged 2 commits into from Mar 1, 2021

Conversation

NikolayXHD
Copy link
Member

Proposed changes

Hide theme data properties from its public interface, since they don't provide a behavior one would naturally expect from a public property with a given name.

The only intended usage for these properties is serialization.

#8904 discovered a problem which this PR would have prevented.


✒️ I contribute this code under The Developer Certificate of Origin.

@codecov
Copy link

codecov bot commented Mar 1, 2021

Codecov Report

Merging #8907 (263b53f) into master (deaefda) will decrease coverage by 0.00%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master    #8907      +/-   ##
==========================================
- Coverage   56.06%   56.06%   -0.01%     
==========================================
  Files         925      925              
  Lines       65899    65901       +2     
  Branches    12091    12092       +1     
==========================================
+ Hits        36946    36947       +1     
- Misses      25934    25939       +5     
+ Partials     3019     3015       -4     
Flag Coverage Δ
production 43.30% <18.18%> (+<0.01%) ⬆️
tests 94.83% <ø> (ø)

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

@RussKie RussKie merged commit acd50e5 into gitextensions:master Mar 1, 2021
@ghost ghost added this to the 3.6 milestone Mar 1, 2021
RussKie pushed a commit that referenced this pull request Mar 2, 2021
Hide theme data properties from its public interface, since they don't provide a behavior one would naturally expect from a public property with a given name.

The only intended usage for these properties is serialization.

(cherry picked from commit acd50e5)
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.

None yet

2 participants