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

Use @osd/std to prettify objects for display #8232

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

AMoo-Miki
Copy link
Collaborator

Description

Use @osd/std to prettify objects for display

Issues Resolved

Fixes #8211

Testing the changes

Follow steps in #8211

Changelog

  • fix: Use @osd/std to prettify objects for display

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

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.05%. Comparing base (cc5531b) to head (0b173be).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8232   +/-   ##
=======================================
  Coverage   64.05%   64.05%           
=======================================
  Files        3741     3741           
  Lines       88635    88683   +48     
  Branches    13804    13817   +13     
=======================================
+ Hits        56776    56810   +34     
  Misses      31261    31261           
- Partials      598      612   +14     
Flag Coverage Δ
Linux_1 30.05% <0.00%> (-0.03%) ⬇️
Linux_2 58.85% <0.00%> (+0.02%) ⬆️
Linux_3 40.34% <100.00%> (-0.04%) ⬇️
Linux_4 31.43% <0.00%> (-0.03%) ⬇️
Windows_1 30.06% <0.00%> (-0.03%) ⬇️
Windows_2 58.80% <0.00%> (+0.02%) ⬆️
Windows_3 40.34% <100.00%> (-0.04%) ⬇️
Windows_4 31.43% <0.00%> (-0.03%) ⬇️

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.

@AMoo-Miki AMoo-Miki merged commit 6e3351c into opensearch-project:main Sep 19, 2024
67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 19, 2024
* Use @osd/std to stringify JSON when formatting objects for display

Signed-off-by: Miki <[email protected]>

* Changeset file for PR #8232 created/updated

---------

Signed-off-by: Miki <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 6e3351c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 19, 2024
* Use @osd/std to stringify JSON when formatting objects for display

Signed-off-by: Miki <[email protected]>

* Changeset file for PR #8232 created/updated

---------

Signed-off-by: Miki <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 6e3351c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
abbyhu2000 pushed a commit that referenced this pull request Sep 21, 2024
* Use @osd/std to stringify JSON when formatting objects for display



* Changeset file for PR #8232 created/updated

---------



(cherry picked from commit 6e3351c)

Signed-off-by: Miki <[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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
abbyhu2000 pushed a commit that referenced this pull request Sep 21, 2024
* Use @osd/std to stringify JSON when formatting objects for display



* Changeset file for PR #8232 created/updated

---------



(cherry picked from commit 6e3351c)

Signed-off-by: Miki <[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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] JSON.stringify() doesn't know how to serialize a BigInt in Discover
3 participants