Skip to content

Honor locale option in all CRUD methods

Coby Sher requested to merge issue/api_client-3376932:honor-locale into canary

Given the abstractions already in the class, this was fairly straightforward.

  • The RequestBaseOptions class now includes the locale option
  • create, update, and delete methods now use the locale option to create the URL
  • Added tests - these were a bit lazy as they do not include the response from the translated API. I'm not sure how much this matters but it could probably be more accurate.

Merge request reports