Skip to content

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Sep 5, 2024

This utility function from frequenz-client-base simplifies the implementation of the client methods that call the gRPC stub methods, automatically converting the gRPC errors to ApiClientError exceptions.

We also now use the MicrogridAsyncStub type for the async stub internally, so we don't need to cast sync stuff to async anymore.

We now use the `MicrogridAsyncStub` type for the async stub internally,
so we don't need to cast sync stuff to async anymore.

Signed-off-by: Leandro Lucarella <[email protected]>
This utility function from `frequenz-client-base` simplifies the
implementation of the client methods that call the gRPC stub methods,
automatically converting the gRPC errors to `ApiClientError` exceptions.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax requested review from a team as code owners September 5, 2024 10:31
@llucax llucax self-assigned this Sep 5, 2024
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:client Affects the client code labels Sep 5, 2024
@llucax llucax added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Sep 5, 2024
@llucax llucax added this to the v0.6.0 milestone Sep 5, 2024
@llucax llucax enabled auto-merge September 5, 2024 10:32
@llucax llucax added this pull request to the merge queue Sep 5, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 7d4e317 Sep 5, 2024
@llucax llucax deleted the call-stub-method branch September 5, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:client Affects the client code part:tests Affects the unit, integration and performance (benchmarks) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants