-
Notifications
You must be signed in to change notification settings - Fork 21
fix(javascript): allow async param on createIterablePromise #4144
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
Conversation
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great find! can we leave one of the playground with an async and sync implem in it? just so the build secures it
actually just a test in client-common would be good? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:noice:
"outDir": "dist", | ||
"skipLibCheck": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"outDir": "dist", | |
"skipLibCheck": true | |
"outDir": "dist" |
does it still work without it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, still complains about rollup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(╯°□°)╯︵ dnʅʅoɹ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks bon to moi gg!
…generated) [skip ci] Co-authored-by: Pierre Millot <[email protected]>
algolia/api-clients-automation#4144 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
🧭 What and Why
Allow all params of
createIterablePromise
to returnPromiseLike
and call them with await, if people want to useawait
inside their fonctions.This is not a breaking change and stays compatible with before.