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

[codemod][new] elastic javascript client - migration to v8.14 #827

Open
2 tasks
arshcodemod opened this issue Jun 6, 2024 · 0 comments · May be fixed by #1259
Open
2 tasks

[codemod][new] elastic javascript client - migration to v8.14 #827

arshcodemod opened this issue Jun 6, 2024 · 0 comments · May be fixed by #1259

Comments

@arshcodemod
Copy link
Contributor

arshcodemod commented Jun 6, 2024

Codemod description

As described in the upgrade guide:
"The returned value of an API call will no longer be the body, statusCode, and headers for callbacks, and only the body for promises. The new returned value will be a unique object containing the body, statusCode, headers, warnings, and meta, for both callback and promises."


To contributors working on this task:

  • Subject Matter/Framework Expert: Share the Codemod Studio link (example) with detailed specs from the framework expert, including before/after pairs and transformation logic, along with edge cases.
  • Codemod Expert: Build and publish quality codemods that cover most edge cases (false negatives are acceptable) with no false positives.
  • Questions? -> Community
@alexbit-codemod alexbit-codemod changed the title [codemod request] elastic javascript client 8.14 : Body, statusCode, headers, warnings, and meta, for both callback and promises. [codemod][new] elastic javascript client - migration to v8.14 Jun 7, 2024
@35C4n0r 35C4n0r linked a pull request Aug 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant