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

make it an error to supply get/set_cmd if get/set_raw is not abstract #2015

Conversation

jenshnielsen
Copy link
Collaborator

It makes no sense to both implement get_raw and supply a get_cmd. Which one should be used. So lets make this an error. There are already 2 subclasses that does the same. DelegateParameter and GroupParameter

@codecov
Copy link

codecov bot commented May 19, 2020

Codecov Report

Merging #2015 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2015   +/-   ##
=======================================
  Coverage   71.08%   71.08%           
=======================================
  Files         145      145           
  Lines       19463    19467    +4     
=======================================
+ Hits        13835    13839    +4     
  Misses       5628     5628           

@jenshnielsen jenshnielsen force-pushed the parameter_dont_mix_get_raw_and_get_cmd branch from 51ee532 to 065c2e6 Compare May 19, 2020 11:59
@jenshnielsen jenshnielsen merged commit 7fb8b8e into microsoft:master May 19, 2020
@jenshnielsen jenshnielsen deleted the parameter_dont_mix_get_raw_and_get_cmd branch May 19, 2020 13:26
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.

2 participants