Skip to content

Make Client.update require named parameters - #34

Merged
Marenz merged 1 commit into
frequenz-floss:v0.x.xfrom
Marenz:named_para
Apr 22, 2024
Merged

Marenz merged 1 commit into
frequenz-floss:v0.x.xfrom
Marenz:named_para

Conversation

@Marenz

@Marenz Marenz commented Apr 18, 2024 •

Copy link
Copy Markdown
Contributor

I noticed it happened often that I used the microgrid id instead of
the dispatch id to identify the to-be-updated dispatch which of course
is wrong.

This should make it more obvious when using the API what kind of ID should
be passed.

Optimally we have distinct types for Microgrid ID and Dispatch ID though.

@Marenz
Marenz requested a review from a team as a code owner April 18, 2024 09:28
@github-actions github-actions Bot added the part:tests Affects the unit, integration and performance (benchmarks) tests label Apr 18, 2024
I noticed it happened often that I used the microgrid id instead of
the dispatch id to identify the to-be-updated dispatch which of course
is wrong.

This should make it more obvious when using the API what kind of ID should
be passed.

Optimally we have distinct types for Microgrid ID and Dispatch ID though.

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
@github-actions github-actions Bot added the part:docs Affects the documentation label Apr 18, 2024
@Marenz
Marenz requested review from llucax and removed request for hannah-stevenson-frequenz April 18, 2024 12:59

@stefan-brus-frequenz stefan-brus-frequenz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@Marenz
Marenz added this pull request to the merge queue Apr 22, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 2c2e30b Apr 22, 2024
@Marenz
Marenz deleted the named_para branch April 22, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation 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