Skip to content

Conversation

@shortcuts
Copy link
Member

🧭 What and Why

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

This method is used by our other products (IS, Crawler, etc.) to provide their own User Agent.

Changes included:

  • Add addUserAgent method, that append to the current client User Agent.

Unrelated changes:

A PR was not worth those small changes

  • Update mustache template to improve function consistency
  • Remove private from package fields

Questions

Looking at the current clients behavior, I feel like this method is really specific to the JavaScript client. Do we want to provide API specific tests later?

🧪 Test

CI :D

@shortcuts shortcuts requested a review from a team February 22, 2022 11:30
@shortcuts shortcuts self-assigned this Feb 22, 2022
@shortcuts shortcuts requested review from damcou and removed request for a team February 22, 2022 11:30
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.

LGTM 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants