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

Update documentation/examples of deprecated namespaceAgnostic field #68039

Merged

Conversation

cee-chen
Copy link
Member

@cee-chen cee-chen commented Jun 2, 2020

Summary

This updates dev documentation files/examples that were referring to namespaceAgnostic in SavedObjectsType, which was deprecated in #63217.

Prior to this PR, using the example in CONVENTIONS.md would lead to the following Typescript error:

Object literal may only specify known properties, and 'namespaceAgnostic' does not exist in type 'SavedObjectsType'.

Checklist

  • Documentation was added for features that require explanation or tutorials

For maintainers

@cee-chen cee-chen requested a review from kobelb June 2, 2020 23:59
@cee-chen cee-chen requested a review from a team as a code owner June 2, 2020 23:59
@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes v7.8.0 labels Jun 3, 2020
Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

Thanks for the doc fix (bis)!

src/core/CONVENTIONS.md Outdated Show resolved Hide resolved
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
@cee-chen cee-chen merged commit b3e7ab3 into elastic:master Jun 3, 2020
@cee-chen cee-chen deleted the update-namespace-type-doc-examples branch June 3, 2020 19:40
cee-chen pushed a commit to cee-chen/kibana that referenced this pull request Jun 3, 2020
…lastic#68039)

* Update documentation/examples of deprecated namespaceAgnostic field to namespaceType

* Update src/core/CONVENTIONS.md

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
cee-chen pushed a commit to cee-chen/kibana that referenced this pull request Jun 3, 2020
…lastic#68039)

* Update documentation/examples of deprecated namespaceAgnostic field to namespaceType

* Update src/core/CONVENTIONS.md

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
cee-chen pushed a commit that referenced this pull request Jun 3, 2020
…68039) (#68194)

* Update documentation/examples of deprecated namespaceAgnostic field to namespaceType

* Update src/core/CONVENTIONS.md

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
cee-chen pushed a commit that referenced this pull request Jun 3, 2020
…68039) (#68195)

* Update documentation/examples of deprecated namespaceAgnostic field to namespaceType

* Update src/core/CONVENTIONS.md

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jun 4, 2020
…ms-column

* 'master' of github.com:elastic/kibana: (63 commits)
  remove scripts. prettire update has been done (elastic#68130)
  Closes elastic#68055 by detecting the local Kibana version and using that as (elastic#68198)
  [apm] docs: add deployment annotation example (elastic#67408)
  [ML] Extend population preview chart to show actual and typical value (elastic#67569)
  Refactor index management client integration tests for scalability (elastic#67917)
  Add generator function that creates multiple alerts (elastic#67713)
  chore(NA): remove config arg from os packages (elastic#67871)
  [Reporting] Move code out of Legacy (elastic#67904)
  [Metrics UI] Add overrides to Snapshot API to support alert previews (elastic#68125)
  [Security] [Cases] Manage timeline UI API (elastic#67719)
  [ENDPOINT][INGEST]Task/endpoint ingest update (elastic#67234)
  Fix code coverage for jest, upload merged reports (elastic#68149)
  Update documentation/examples of deprecated namespaceAgnostic field (elastic#68039)
  [DOCS] Updates Canvas docs with new menus (elastic#66061)
  chore(NA): avoids imports of server or public code into common (elastic#67231)
  [SIEM] Fix GetOneTimeline graphql type (elastic#68137)
  skip flaky suite (elastic#67838)
  [Uptime] Add loading message for monitor list no items (elastic#67378)
  [Ingest Manager] Update indexing strategy docs to use dataset.* (elastic#68068)
  [Ingest Manager] Fix datasource validation for streams without vars (elastic#67950)
  ...

# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
@cee-chen cee-chen mentioned this pull request Jun 4, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants