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

[Maps] remove VectorSourceSyncMeta type #112333

Merged
merged 5 commits into from
Sep 16, 2021

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Sep 15, 2021

Part of type clean-up to support #111228

This PR removes VectorSourceSyncMeta type. It was used to type VectorSourceRequestMeta.sourceMeta. VectorSourceRequestMeta.sourceMeta is only used in canSkipSourceUpdate to trigger an updated if source properties have changed that required a re-fetch. Typing VectorSourceRequestMeta.sourceMeta as Object is specific enough for this check. Strictly typing VectorSourceRequestMeta.sourceMeta leaked source implemenation details into VectorSourceRequestMeta and made adding sources at run time difficult.

@nreese nreese added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Sep 15, 2021
@nreese nreese requested a review from a team as a code owner September 15, 2021 18:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese
Copy link
Contributor Author

nreese commented Sep 15, 2021

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Sep 16, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 3.2MB 3.2MB -158.0B

History

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

@nreese nreese merged commit e20a5d1 into elastic:master Sep 16, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 16, 2021
* [Maps] remove VectorSourceSyncMeta type

* add comment to getSyncMeta

* document join.getSyncMeta

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 16, 2021
* [Maps] remove VectorSourceSyncMeta type

* add comment to getSyncMeta

* document join.getSyncMeta

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants