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(php): make requestOptions match other clients #497

Merged
merged 1 commit into from
May 12, 2022

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented May 12, 2022

🧭 What and Why

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

Changes included:

  • Remove some logic in the RequestOptionsFactory to make the parameter shape match other clients
  • Store header parameters in $headers
  • Remove unused parameter

Javascript:

  • Make requestOptions override default parameters

🧪 Test

CI :D

@shortcuts shortcuts requested review from damcou and a team May 12, 2022 09:26
@shortcuts shortcuts self-assigned this May 12, 2022
@shortcuts shortcuts requested review from eunjae-lee and removed request for a team May 12, 2022 09:26
@netlify
Copy link

netlify bot commented May 12, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit bae5c3e
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/627cd2df4d721900093c0f4d

@algolia-bot
Copy link
Collaborator

algolia-bot commented May 12, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.

Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

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

Very nice simplification 🚀

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.

3 participants