-
Notifications
You must be signed in to change notification settings - Fork 21
feat(javascript): add waitForApiKey
helper method
#738
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
✅ Deploy Preview for api-clients-automation canceled.
|
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
8323151
to
8e1321a
Compare
@@ -25,13 +25,17 @@ type Prompt = { | |||
interactive: boolean; | |||
}; | |||
|
|||
export function getClientChoices(job: Job, language?: LangArg): string[] { | |||
const withoutAlgoliaSearch = PROMPT_CLIENTS.filter( | |||
export function getClientChoices( |
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.
Sorry for this change, all
was not allowed anymore 👼🏼
ea9b088
to
c809fb4
Compare
c809fb4
to
64163f4
Compare
64163f4
to
9ed5b78
Compare
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 good ! I'm still unsure this is really used, we should stop putting helpers everywhere ahah
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.
nice !
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-514
Changes included:
The initial idea was to provide a guide for this solution, but due to the different way of ensuring the task has been processed, we decided to move to an helper method to ease the user journey.
We now provide a
waitForApiKey
helper method, similarly towaitForTask
, but with stop condition matching what was introduced in v4.🧪 Test