Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants