Skip to content

Make context.core required argument to context providers#59996

Merged
rudolf merged 3 commits intoelastic:masterfrom
rudolf:required-core-context
Mar 12, 2020
Merged

Make context.core required argument to context providers#59996
rudolf merged 3 commits intoelastic:masterfrom
rudolf:required-core-context

Conversation

@rudolf
Copy link
Copy Markdown
Contributor

@rudolf rudolf commented Mar 12, 2020

Summary

Makes plugins' code for registering context providers a little bit cleaner.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@rudolf rudolf added chore Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes labels Mar 12, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think it's fine not to expose PartialExceptFor as plugins would never need to use this type directly.

@rudolf rudolf marked this pull request as ready for review March 12, 2020 14:22
@rudolf rudolf requested review from a team as code owners March 12, 2020 14:22
Copy link
Copy Markdown
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

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

Alerting changes LGTM

Copy link
Copy Markdown
Contributor

@mshustov mshustov left a comment

Choose a reason for hiding this comment

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

Okay for me. However, I hope we manage to simplify the context declaration in #57674

Copy link
Copy Markdown
Contributor

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

AppArch changes LGTM

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

  • 💔 Build #32742 failed 98f92b2fc2c8a22deb526a57bd5eda907c6b570a

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rudolf rudolf merged commit 80e6ff7 into elastic:master Mar 12, 2020
@rudolf rudolf deleted the required-core-context branch March 12, 2020 19:39
rudolf added a commit that referenced this pull request Mar 12, 2020
…0061)

* Make context.core required argument to context providers

* Refactor plugins: context.core isn't optional anymore

* Update docs
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 13, 2020
* master:
  [Alerting] extend Alert Type with names/descriptions of action variables (elastic#59756)
  [Ingest] Fix data source creation and double system data source (elastic#60069)
  Add button to view full service map (elastic#59394)
  unskip tests for code coverage (elastic#59725)
  [Ingest] Add Fleet & EPM features (elastic#59376)
  [Logs UI] Show navigation bar while loading source configurati… (elastic#59997)
  [Endpoint] ERT-82 Alerts search bar (elastic#59702)
  Aggregate queue types being used by Beats (elastic#59850)
  skip flaky suite (elastic#59541)
  Convert Timeline to TypeScript (elastic#59966)
  Make context.core required argument to context providers (elastic#59996)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants