Skip to content

Commit

Permalink
fix: Fix error message for non nullable converter
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal committed Jan 22, 2024
1 parent 261c151 commit 9d6079f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drift_dev/lib/src/analysis/resolver/shared/dart_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ AppliedTypeConverter? readTypeConverter(
"potentially map to `null` which can't be stored in the database.");
} else if (!canBeSkippedForNulls) {
final alternative = appliesToJsonToo
? 'JsonTypeConverter.asNullable'
? 'JsonTypeConverter2.asNullable'
: 'NullAwareTypeConverter.wrap';

reportError('This column is nullable, but the type converter has a non-'
Expand Down

0 comments on commit 9d6079f

Please sign in to comment.