Think about what is the public interface #30
Closed
leandro-lucarella-frequenz
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
Slightly related, I was thinking about putting everything that is not a channel in |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've been thinking about this too. It would be great to make the implementations internal. This would also make it clear which LSP suggestion to use when importing a type, etc, because there are a number of types we re-export or (internally) reimplement. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This was done. |
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
-
Now that we have API documentation, we are exposing every module in the documentation, when the actual classes that are intended to be used by the users are all imported publicly in
frequenz.channels
.For a library this small I think it makes sense con only consider that module our public API, this will also allow us to restructure the project in a non-breaking way.
The de facto way to mark modules and packages internal is to prefix a
_
, so all modules and packages will have to be prefixed this way if we want to go this route.Beta Was this translation helpful? Give feedback.
All reactions