-
Notifications
You must be signed in to change notification settings - Fork 53
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
Refactor out backend code #198
Conversation
Having the backend intermediate type for instantiating and using Client adds complexity, code length, and unnecessary error paths. This commit fully removes backend without breaking any existing funcitonality. Signed-off-by: Will Beason <[email protected]>
Signed-off-by: Will Beason <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #198 +/- ##
==========================================
- Coverage 48.10% 47.88% -0.22%
==========================================
Files 59 59
Lines 2871 2865 -6
==========================================
- Hits 1381 1372 -9
- Misses 1241 1243 +2
- Partials 249 250 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM
Signed-off-by: Will Beason <[email protected]>
Note that Gatekeeper failing is expected since backend instantiation changed. I'll send a PR to fix in gatekeeper. |
Note to reviewers: This changes how Client is instantiated, so it breaks
Gatekeeper's usage of it. This can easily be remedied with a small change
to the Gatekeeper repo.
Having the backend intermediate type for instantiating and using Client
adds complexity, code length, and unnecessary error paths. This change
makes using Client easier and streamlines options to a single type, all
specified when instantiating the Client.
This commit fully removes backend without breaking any existing
funcitonality.
Signed-off-by: Will Beason [email protected]