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

[tech debt] Address faker deprecation warnings #7216

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

cee-chen
Copy link
Member

@cee-chen cee-chen commented Sep 21, 2023

Summary

When I upgraded faker versions in #7175 (to generate random special characters), little did I know I was actually spamming us all with a million faker deprecation warnings 💀

Thankfully their jsdoc-fu is super good so I was able to update all APIs to their new names/syntaxes without even having to open their docs 👏

QA

  • yarn start and look at dev console and confirm there are no longer any faker warnings being emitted

General checklist

N/A, internal docs/dev-only

@cee-chen cee-chen added documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog labels Sep 21, 2023
@cee-chen cee-chen changed the title Fix approximately 1 billion faker console warnings [Dev only] Address faker deprecation warnings Sep 21, 2023
@cee-chen cee-chen changed the title [Dev only] Address faker deprecation warnings [tech debt] Address faker deprecation warnings Sep 21, 2023
@cee-chen cee-chen marked this pull request as ready for review September 21, 2023 22:37
@cee-chen cee-chen requested a review from a team as a code owner September 21, 2023 22:37
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Copy link
Contributor

@1Copenut 1Copenut left a comment

Choose a reason for hiding this comment

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

👍 LGTM!

@cee-chen cee-chen enabled auto-merge (squash) September 22, 2023 15:55
@cee-chen
Copy link
Member Author

@1Copenut it looks like you hit comment instead of approve 😅

Copy link
Contributor

@1Copenut 1Copenut left a comment

Choose a reason for hiding this comment

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

@cee-chen Indeed I did. 😅

Will try this again.

@cee-chen cee-chen merged commit badc843 into elastic:main Sep 22, 2023
13 checks passed
@cee-chen cee-chen deleted the faker-warnings branch September 22, 2023 15:56
@cee-chen
Copy link
Member Author

Haha, thanks! And no worries, for it is friday my dudes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants