-
Notifications
You must be signed in to change notification settings - Fork 23
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
Do not export web.dart
from helpers.dart
#98
Comments
I came here to file this same issue. When using this package, I'd expect to import:
or possibly:
but not:
I wouldn't think of 'helpers' as the main library in this package. |
@devoncarew actually |
I took a stab at it in #109 - |
The current setup seems odd to me (
I'm curious if we think that most people using this package will use the helpers? All people using this package? I could see two alternative setups:
This would mean you could use the apis w/ just the first import, but perhaps typical usage would require both imports? Alternatively, this could be:
This setup would make sense if we believed most idiomatic use of the package would use the helpers. Thoughts? |
It makes sense to me to avoid exporting If needing both imports is not okay, an alternative is to make |
To paraphrase an off-line discussion:
|
It seems convenient, but it makes the following documentation page:
Very hard to tell apart from:
(Alternatively, expose a library that exports only the helpers so I can find their documentation, and what's available :))
The text was updated successfully, but these errors were encountered: