google / google/built_value.dart
Feature request: SerializersBuilder addAllBuilderFactories
Open
question
- Dominant language
- Dart
- Stars
- 886
- Forks
- 195
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 4
Description
When extending another packages' serializers you can `addAll` their serializers however I don't think there is a way to add all their BuilderFactories?
It would be great if you can do this:
```dart
import 'package:foobar/foobar.dart' as mypackage;
// ...
final Serializers serializers = (_$serializers.toBuilder()
..addAll(mypackage.serializers.serializers)
..addAllBuilderFactories(mypackage.serializers.builderFactories);
).build();
```
It would also be nice to addAllPlugins too but this would be less useful.
Contributor guide
Assessment
This issue has not been assessed yet.