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

fix ts type of injectSearchSourceReferences to avoid type casting #7725

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented Aug 16, 2024

Description

Make indexRefName optional when calling injectReferences

Issues Resolved

Screenshot

Testing the changes

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link
Contributor

❌ Empty Changelog Section

The Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section.

@github-actions github-actions bot added failed changeset Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry and removed failed changeset labels Aug 16, 2024
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.82%. Comparing base (e490b6b) to head (d096ba0).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7725   +/-   ##
=======================================
  Coverage   63.81%   63.82%           
=======================================
  Files        3654     3654           
  Lines       81058    81058           
  Branches    12912    12912           
=======================================
+ Hits        51730    51732    +2     
+ Misses      26152    26151    -1     
+ Partials     3176     3175    -1     
Flag Coverage Δ
Linux_1 30.05% <0.00%> (ø)
Linux_2 55.86% <ø> (ø)
Linux_3 40.43% <0.00%> (?)
Linux_4 31.29% <100.00%> (ø)
Windows_1 30.06% <0.00%> (ø)
Windows_2 55.81% <ø> (ø)
Windows_3 40.42% <0.00%> (ø)
Windows_4 31.29% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SuZhou-Joe SuZhou-Joe closed this Aug 16, 2024
@SuZhou-Joe SuZhou-Joe reopened this Aug 16, 2024
@ruanyl ruanyl merged commit 85fae59 into opensearch-project:main Aug 20, 2024
66 of 67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 20, 2024
)

Signed-off-by: Yulong Ruan <[email protected]>
(cherry picked from commit 85fae59)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Qxisylolo pushed a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Aug 20, 2024
SuZhou-Joe pushed a commit that referenced this pull request Aug 20, 2024
) (#7762)

(cherry picked from commit 85fae59)

Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x seasoned-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants