这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: add more retry options #169

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

Merged
merged 6 commits into from
Apr 26, 2025
Merged

feat: add more retry options #169

merged 6 commits into from
Apr 26, 2025

Conversation

hgiasac
Copy link

@hgiasac hgiasac commented Apr 26, 2025

This pull request introduces several improvements and updates across multiple files, including upgrading dependencies, enhancing linting configurations, improving code readability, and adding new features. The key changes are grouped and summarized below:

Feature Enhancements:

  • Introduced retry options for GraphQL clients in the README.md, allowing customization for retries, backoff intervals, and error handling during GraphQL operations.

Code Readability Improvements:

  • Reformatted long function arguments for better readability.
  • Removed unnecessary blank lines in functions across several example files to enhance code cleanliness and maintainability.

These changes collectively improve the maintainability, readability, and functionality of the codebase while ensuring it adheres to updated standards and practices.

Dependency and Configuration Updates:

  • Updated the golangci-lint-action version from v6 to v7 in .github/workflows/lint.yml to use the latest features and fixes. Removed the skip-cache option.
  • Commented out permissions in .github/workflows/test.yml, potentially simplifying the workflow configuration.
  • Added a new .golangci.yml file with detailed linter configurations, including specific linters to disable, settings for complexity and formatting, and exclusion rules for generated files.

Copy link

github-actions bot commented Apr 26, 2025

Code Coverage

Package Line Rate Health
github.com/hasura/go-graphql-client 65%
github.com/hasura/go-graphql-client/ident 100%
github.com/hasura/go-graphql-client/pkg/jsonutil 84%
Summary 70% (1725 / 2470)

Minimum allowed line rate is 60%

@hgiasac hgiasac marked this pull request as ready for review April 26, 2025 10:08
@hgiasac hgiasac merged commit 4bb0498 into master Apr 26, 2025
2 checks passed
@hgiasac hgiasac deleted the feat/add-more-try-options branch April 26, 2025 10:23
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.

1 participant