Skip to content

Commit a44bca1

Browse files
committed
Correct type check
Which oddly passes...
1 parent cd64757 commit a44bca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EFCore.PG/Metadata/Internal/NpgsqlAnnotationProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public override IEnumerable<IAnnotation> For(ITableIndex index, bool designTime)
140140
yield return new Annotation(NpgsqlAnnotationNames.IndexSortOrder, sortOrder);
141141
}
142142

143-
if (modelIndex.GetNullSortOrder() is IReadOnlyList<SortOrder> nullSortOrder)
143+
if (modelIndex.GetNullSortOrder() is IReadOnlyList<NullSortOrder> nullSortOrder)
144144
{
145145
yield return new Annotation(NpgsqlAnnotationNames.IndexNullSortOrder, nullSortOrder);
146146
}

0 commit comments

Comments
 (0)