google / google/built_value.dart
Handle manually implemented builders that do not instantiate nested builders
Open
p2 / bug
- Dominant language
- Dart
- Stars
- 886
- Forks
- 195
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 4
Description
Deserialization currently assumes that nested builder fields are always instantiated; on migration to null safety this becomes a static error if they return nullable builder, and the compile fails.
The generated code should check if the builder was instantiated or not.
Contributor guide
Assessment
This issue has not been assessed yet.