Skip to content

Commit c78e7cc

Browse files
author
Anna Gringauze
authored
Make data types null safe (#1615)
* Make data types null safe * Updated changelog, versions, and built * Pull null safe dependencies, disable analyzer warning on generated files * Remove unnecessary build options * Format * Update comment in analysis_options.yaml * Added comments on nullable data fields * Rephrased comments * Allow more time for timing out tests
1 parent c1d2237 commit c78e7cc

27 files changed

+663
-577
lines changed

dwds/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## 14.0.3-dev
2+
- Make data types null safe
23
- Update `package:vm_service` to 8.3.0.
34

45
## 14.0.2

dwds/analysis_options.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file contains the analysis options used for code in the webdev
2+
# repository.
3+
4+
analyzer:
5+
exclude:
6+
# Ignore generated files
7+
- "lib/data/*"
8+

dwds/lib/data/build_result.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// @dart = 2.9
6-
75
import 'package:built_collection/built_collection.dart';
86
import 'package:built_value/built_value.dart';
97
import 'package:built_value/serializer.dart';

dwds/lib/data/build_result.g.dart

Lines changed: 13 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dwds/lib/data/connect_request.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// @dart = 2.9
6-
75
import 'package:built_value/built_value.dart';
86
import 'package:built_value/serializer.dart';
97

dwds/lib/data/connect_request.g.dart

Lines changed: 24 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dwds/lib/data/debug_event.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// @dart = 2.9
6-
75
import 'package:built_collection/built_collection.dart';
86
import 'package:built_value/built_value.dart';
97
import 'package:built_value/serializer.dart';

0 commit comments

Comments
 (0)