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

Move ResourceNotFound error handling to the client level #1423

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

mikhailshilkov
Copy link
Member

I think I missed one low-level protocol piece that stayed in the provider but should go to the client: Resource Not Found handling. Moved it to the client now. Have thrown a few tests around it as an added benefit.

No functional changes.

@mikhailshilkov mikhailshilkov added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Mar 14, 2024
@mikhailshilkov mikhailshilkov changed the title Move ResourceNotFound error handling to the api level Move ResourceNotFound error handling to the client level Mar 14, 2024
Copy link
Contributor

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 24.09%. Comparing base (6c27c27) to head (5c9ee31).

Files Patch % Lines
provider/pkg/provider/provider.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1423      +/-   ##
==========================================
+ Coverage   23.80%   24.09%   +0.28%     
==========================================
  Files          28       28              
  Lines        4259     4266       +7     
==========================================
+ Hits         1014     1028      +14     
+ Misses       3077     3070       -7     
  Partials      168      168              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mikhailshilkov mikhailshilkov merged commit aebcf02 into master Mar 15, 2024
17 checks passed
@mikhailshilkov mikhailshilkov deleted the mikhailshilkov/not-found-handling branch March 15, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants