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

Switch url method to protected #1

Merged
merged 2 commits into from
Jun 14, 2021
Merged

Switch url method to protected #1

merged 2 commits into from
Jun 14, 2021

Conversation

LucasUnplugged
Copy link

@LucasUnplugged LucasUnplugged commented Jun 11, 2021

By making the url method and the fetch property protected instead of private, we allow these services to be extended, without needing to re-implement hostname, fetch, path, and url.

Lucas Castro added 2 commits June 11, 2021 15:56
By making the `url` method `protected` instead of `private`, we allow these services to be extended, without needing to re-implement `hostname`, `fetch`, `path`, and `url`.
Forgot that `this.fetch` would also need to be `protected`, to avoid boilerplate duplication.
@lo5 lo5 merged commit 081ff32 into h2oai:master Jun 14, 2021
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