postman-code-generators icon indicating copy to clipboard operation
postman-code-generators copied to clipboard

Let javascript-Fetch also have an option to generate async/await code.

Open user9747 opened this issue 5 years ago • 3 comments

I use async/await fetch , so if i use the code generated from postman, I have to rewrite the request part. It would be way easier if postman is able to generate that as well. I think this applies to all the JS libs that postman generates code for.

user9747 avatar Oct 22 '20 05:10 user9747

Hi, I would like to work on this issue. Can someone please guide as to how should I proceed with this issue?

devangmukherjee avatar Oct 30 '20 07:10 devangmukherjee

@webholik Could i work on this if no one has picked it up?

user9747 avatar Nov 03 '20 13:11 user9747

@user9747 Adding async/wait is currently low priority for the project as not too may people have asked for it and from a usability point of view there is no gain from using it since the Promises work just fine. You are free to work on it but we might not be able to merge it in the near future.

webholik avatar Nov 06 '20 12:11 webholik

Bumping as we need this too

clairefro avatar Jul 14 '23 15:07 clairefro