Replies: 1 comment
-
I'm working on this as part of the microgrid API. It might be moved to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now we use
int
for component IDs. This is not ideal for a few reasons:int
and a component ID, either it makes calling the function error prone or we need to make the arguments keyword-only to remove ambiguityIt we create a simple type
ComponentId
like:We can avoid these issues and have a clearer interface.
References:
Beta Was this translation helpful? Give feedback.
All reactions