-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Graph] Switch to core http #49487
[Graph] Switch to core http #49487
Conversation
@flash1293 I feel like the |
💚 Build Succeeded |
@elasticmachine merge upstream |
💚 Build Succeeded |
@kertal Could you check out this one? It's a really simple cleanup PR. |
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.
Code LGTM 👍 , tested locally in Chrome
@elasticmachine merge upstream |
💚 Build Succeeded |
This PR removes the dependency on
$http
and replaces it withcore.http
. It also fixes an issue that caused the loading state to not get cleaned up after a request because the digest cycle wasn't triggered.To do so, I had to replicate the
formatAngularHttpError
helper logic. @elastic/kibana-platform it feels like this is a common thing, is/will there be a replacement offered from core and I missed it?