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

Add types to Elasticsearch API calls #46668

Merged
merged 6 commits into from
Oct 7, 2019

Conversation

joshdover
Copy link
Contributor

Summary

This copies the type information over from the legacy Elasticsearch plugin over to the core ElasticsearchService.

I had to copy these rather than re-use them due to the slightly different call signatures which I couldn't find a way to use mapped and conditional types to do a lookup on an overloaded callable interface. If anyone knows how to do that, let me know so I can avoid copying these.

cc @jasonrhodes

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@joshdover joshdover added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes v7.5.0 labels Sep 26, 2019
@joshdover joshdover requested a review from a team as a code owner September 26, 2019 00:45
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some console.log statements snuck in. Besides that, the security plugin related changes LGTM.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@joshdover joshdover force-pushed the np/elasticsearch-types branch 2 times, most recently from befbe3f to cddfcd0 Compare September 30, 2019 18:24
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@joshdover
Copy link
Contributor Author

retest

@joshdover
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@joshdover
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@joshdover joshdover merged commit d6410b5 into elastic:master Oct 7, 2019
@joshdover joshdover deleted the np/elasticsearch-types branch October 7, 2019 18:11
joshdover added a commit to joshdover/kibana that referenced this pull request Oct 7, 2019
@rudolf rudolf mentioned this pull request Dec 6, 2019
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants