google / google/built_value.dart

Handle manually implemented builders that do not instantiate nested builders

Open
#1,204 0 comments 0 reactions 1 assignee Claimed by @davidmorgan View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.