dart-lang / yaml

A Dart YAML parser.
https://pub.dev/packages/yaml
MIT License
169 stars 58 forks source link

`ErrorListener` is not exported #124

Open lrhn opened 2 years ago

lrhn commented 2 years ago

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.