mirror of https://github.com/AMT-Cheif/drift.git
Update innerColumnType comment
This commit is contained in:
parent
6f6eaadf28
commit
5388a03fc6
|
@ -159,7 +159,8 @@ class MoorColumn implements HasDeclaration, HasType {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We currently use nullable columns everywhere because it's not clear how
|
// We currently use nullable columns everywhere because it's not clear how
|
||||||
// to express nullability in joins otherwise.
|
// to express nullability in joins otherwise. When serializing data with
|
||||||
|
// JsonTypeConverter it needs to match the nullability of the column
|
||||||
return options.nnbd && (!checkNullable || nullable) ? '$code?' : code;
|
return options.nnbd && (!checkNullable || nullable) ? '$code?' : code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue