Skip to content
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

ErrorListener is not exported #124

Open
lrhn opened this issue Jan 24, 2022 · 0 comments
Open

ErrorListener is not exported #124

lrhn opened this issue Jan 24, 2022 · 0 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@lrhn
Copy link
Member

lrhn commented Jan 24, 2022

The public API, like loadYaml, depends on an ErrorListener interface which is not exported.

People need to import package:yaml/src/error_listener.dart in order to use the API, which is against style guidelines.
See StackOverflow question for an example.

The library should probably be exported by yaml.dart.

@lrhn lrhn added the type-enhancement A request for a change that isn't a bug label Jan 24, 2022
@natebosch natebosch reopened this Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants