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

fix(javascript): remove duplicate echoRequester logic #650

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jun 8, 2022

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-507

Changes included:

The scope of the task has changed since the echoRequester is not used in the client package, so not in the final UMD build and no impact on the size.

In this PR we:

  • Remove duplicate logic in the transporters (env related)
  • Update client test template to match requests test

🧪 Test

CI :D

@shortcuts shortcuts requested review from a team, eunjae-lee and millotp and removed request for a team June 8, 2022 11:16
@netlify
Copy link

netlify bot commented Jun 8, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit ef264a1
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62a085002c14f400090feaf9

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 8, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@@ -1,8 +1,8 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable require-await */
/* eslint-disable @typescript-eslint/no-unused-vars, require-await */
// @ts-nocheck Failing tests will have type errors, but we cannot suppress them even with @ts-expect-error because it doesn't work for a block of lines.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this new template we could maybe scope the TS error now 🤔

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments, nice change !

@shortcuts shortcuts merged commit faba721 into main Jun 8, 2022
@shortcuts shortcuts deleted the fix/js-remove-duplicate-echo-logic branch June 8, 2022 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants