Fixed orm warning

This commit is contained in:
thomashii 2021-05-17 22:16:15 +08:00
parent 4be81470f9
commit ea03a12a24
4 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,6 @@
# 4.0.0-beta.2
* Fixed static analysis warning
# 4.0.0-beta.1 # 4.0.0-beta.1
* Migrated to support Dart SDK 2.12.x NNBD * Migrated to support Dart SDK 2.12.x NNBD

View file

@ -1,5 +1,5 @@
# angel3_orm # angel3_orm
[![version](https://img.shields.io/badge/pub-v4.0.0-beta.1-brightgreen)](https://pub.dartlang.org/packages/angel3_orm) [![version](https://img.shields.io/badge/pub-v4.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_orm)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) [![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)

View file

@ -18,8 +18,8 @@ class JoinBuilder {
this.alias, this.alias,
this.additionalFields = const [], this.additionalFields = const [],
this.aliasAllFields = false}) { this.aliasAllFields = false}) {
assert(to != null, //assert(to != null,
'computation of this join threw an error, and returned null.'); // 'computation of this join threw an error, and returned null.');
} }
String get fieldName { String get fieldName {

View file

@ -1,5 +1,5 @@
name: angel3_orm name: angel3_orm
version: 4.0.0-beta.1 version: 4.0.0-beta.2
description: Runtime support for Angel's ORM. Includes base classes for queries. description: Runtime support for Angel's ORM. Includes base classes for queries.
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/orm/angel_orm homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/orm/angel_orm
environment: environment: