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

FAI-9741: Remove v1 support from FarosClient #258

Merged
merged 2 commits into from
May 29, 2024
Merged

Conversation

ted-faros
Copy link
Contributor

@ted-faros ted-faros commented May 29, 2024

Description

Remove v1 logic from FarosClient

Type of change

  • Bug fix
  • New feature
  • Breaking change

Migration notes

This is a breaking change

this.api = makeAxiosInstanceWithRetry(
{
...axiosConfig,
baseURL: url,
headers: {
...axiosConfig?.headers,
authorization: cfg.apiKey,
...(useGraphQLV2 && {[GRAPH_VERSION_HEADER]: 'v2'}),
[GRAPH_VERSION_HEADER]: GraphVersion.V2,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Retain this explicit header for safety. Clio with v2 default is not necessarily rolled out everywhere yet.

Copy link

sonarcloud bot commented May 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Collaborator

@ypc-faros ypc-faros left a comment

Choose a reason for hiding this comment

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

💥

@ted-faros ted-faros merged commit ecddcc8 into main May 29, 2024
5 checks passed
@ted-faros ted-faros deleted the tt/remove-version branch May 29, 2024 22:11
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants