[Sound null safety] Language feature docs #4584
Labels
dev.null-safety
Relates to transforming or migrating Dart code to sound null safety
e2-days
Can complete in < 5 days of normal, not dedicated, work
from.team
Reported by Dash docs team member
p2-medium
Necessary but not urgent concern. Resolve when possible.
st.triage.ltw
Indicates Lead Tech Writer has triaged
Evaluation of potential changes due to sound null safety: dart-lang/sdk#49530
Summary
(READY) Mentions of optional/unsound null safety across the site need to be removed. There may be some cases where indiscriminately removing related text would make the content confusing, so evaluate the context for each instance (why did it need to be mentioned before, is a caveat still applicable, etc).
(NEEDS FURTHER EVAL) The pages on null safety (listed under Evaluation) need to be dealt with. Especially
/migration-guide
,/unsound-null-safety
, and/faq
will likely be completely removed, but each needs to be evaluated for content that may still be useful to users (don't indiscriminately remove them).The likely solution is to create a new page under "Types" about nullable types to include some information, and separate out useful, non-version-qualified content (i.e. "before null safety/Dart 2...." kind of qualifiers) from
/null-safety
and/understanding-null-safety
and either put that info onto new pages, or consolidate with other content. Basically we need to pick apart these pages line by line to keep what's relevant and discard what isn't.Evaluation:
PRs that already addressed sound null safety pre-2.19:
Pages on null safety:
Other mentions of optional null safety:
Things that need to be added somewhere:
https://dart.dev/guides/language/evolution#per-library-language-version-selectionThe text was updated successfully, but these errors were encountered: