335c4n0r

elasticsearch/8/rename-query-string

No description available

elasticsearch8migration
Public
0 executions

Run locally

npx codemod elasticsearch/8/rename-query-string

This codemod renames the query key to querystring and changes the body key to bulkBody in client.transport.request.

What Changed

Previously, the query key was used for query parameters and body was used for the request body in client.transport.request. Now, you need to use querystring for query parameters and bulkBody for the request body.

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.