Skip to content

Fix up various nullability warnings #853

Fix up various nullability warnings

Fix up various nullability warnings #853

Triggered via push June 17, 2024 16:38
Status Success
Total duration 11m 25s
Artifacts 1

dotnet-core.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: FAnsiSql/Discovery/DiscoveredServerHelper.cs#L51
Nullability of reference types in type of parameter 'connectionString' of 'DbConnectionStringBuilder DiscoveredServerHelper.GetConnectionStringBuilder(string connectionString)' doesn't match implicitly implemented member 'DbConnectionStringBuilder IDiscoveredServerHelper.GetConnectionStringBuilder(string? connectionString)' (possibly because of nullability attributes).
build: FAnsiSql/Implementations/MySql/MySqlQuerySyntaxHelper.cs#L41
Nullability of type of parameter 'databaseName' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/MySql/MySqlQuerySyntaxHelper.cs#L41
Nullability of type of parameter 'schema' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/Oracle/OracleServerHelper.cs#L39
Nullability of type of parameter 'database' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlServerHelper.cs#L97
Nullability of type of parameter 'database' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L57
Possible null reference argument for parameter 'name' in 'DiscoveredColumn.DiscoveredColumn(DiscoveredTable table, string name, bool allowsNulls)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L236
Possible null reference argument for parameter 'key' in 'bool Dictionary<string, DiscoveredRelationship>.TryGetValue(string key, out DiscoveredRelationship value)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L245
Possible null reference argument for parameter 'tableName' in 'DiscoveredTable DiscoveredDatabase.ExpectTable(string tableName, string? schema = null, TableType tableType = TableType.Table)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L246
Possible null reference argument for parameter 'tableName' in 'DiscoveredTable DiscoveredDatabase.ExpectTable(string tableName, string? schema = null, TableType tableType = TableType.Table)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L264
Possible null reference argument for parameter 'primaryKeyCol' in 'void DiscoveredRelationship.AddKeys(string primaryKeyCol, string foreignKeyCol, IManagedTransaction? transaction = null)'.
build: FAnsiSql/Discovery/DiscoveredServerHelper.cs#L51
Nullability of reference types in type of parameter 'connectionString' of 'DbConnectionStringBuilder DiscoveredServerHelper.GetConnectionStringBuilder(string connectionString)' doesn't match implicitly implemented member 'DbConnectionStringBuilder IDiscoveredServerHelper.GetConnectionStringBuilder(string? connectionString)' (possibly because of nullability attributes).
build: FAnsiSql/Implementations/MySql/MySqlQuerySyntaxHelper.cs#L41
Nullability of type of parameter 'databaseName' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/MySql/MySqlQuerySyntaxHelper.cs#L41
Nullability of type of parameter 'schema' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlServerHelper.cs#L97
Nullability of type of parameter 'database' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/Oracle/OracleServerHelper.cs#L39
Nullability of type of parameter 'database' doesn't match overridden member (possibly because of nullability attributes).
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L57
Possible null reference argument for parameter 'name' in 'DiscoveredColumn.DiscoveredColumn(DiscoveredTable table, string name, bool allowsNulls)'.
build: FAnsiSql/Discovery/TypeTranslation/TypeTranslater.cs#L292
Dereference of a possibly null reference.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L236
Possible null reference argument for parameter 'key' in 'bool Dictionary<string, DiscoveredRelationship>.TryGetValue(string key, out DiscoveredRelationship value)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L245
Possible null reference argument for parameter 'tableName' in 'DiscoveredTable DiscoveredDatabase.ExpectTable(string tableName, string? schema = null, TableType tableType = TableType.Table)'.
build: FAnsiSql/Implementations/PostgreSql/PostgreSqlTableHelper.cs#L246
Possible null reference argument for parameter 'tableName' in 'DiscoveredTable DiscoveredDatabase.ExpectTable(string tableName, string? schema = null, TableType tableType = TableType.Table)'.

Artifacts

Produced during runtime
Name Size
artifact Expired
154 KB