Skip to content

Adds model unit tests and Update Policy schema validation #15

Adds model unit tests and Update Policy schema validation

Adds model unit tests and Update Policy schema validation #15

Triggered via pull request June 19, 2025 19:20
Status Success
Total duration 27s
Artifacts

dotnet-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: KustoSchemaTools/Model/UpdatePolicyValidator.cs#L97
Possible null reference argument for parameter 'sourceTable' in 'void UpdatePolicyValidator.ValidateSchemaCompatibility(UpdatePolicy updatePolicy, Table targetTable, Table sourceTable, UpdatePolicyValidationResult result, UpdatePolicyValidationConfig config)'.
build: KustoSchemaTools/Helpers/Serialization.cs#L74
Possible null reference return.
build: KustoSchemaTools/Helpers/Serialization.cs#L69
Possible null reference return.
build: KustoSchemaTools/Helpers/Serialization.cs#L63
Possible null reference argument for parameter 'o' in 'JObject JObject.FromObject(object o, JsonSerializer jsonSerializer)'.
build: KustoSchemaTools/Helpers/Serialization.cs#L62
Possible null reference argument for parameter 'o' in 'JObject JObject.FromObject(object o, JsonSerializer jsonSerializer)'.
build: KustoSchemaTools/Changes/ScriptCompareChange.cs#L15
Possible null reference argument for parameter 'from' in 'BaseChange<IKustoBaseEntity>.BaseChange(string entityType, string entity, IKustoBaseEntity from, IKustoBaseEntity to)'.
build: KustoSchemaTools/Model/Database.cs#L10
'RetentionAndCachePolicy' is obsolete: 'Use policies instead'
build: KustoSchemaTools/Changes/DatabaseChanges.cs#L176
Cannot convert null literal to non-nullable reference type.
build: KustoSchemaTools/KustoTypes/DB/TableRows.cs#L11
'RetentionAndCachePolicy' is obsolete: 'Use policies instead'
build: KustoSchemaTools/KustoTypes/DB/MaterializedViewRows.cs#L15
'RetentionAndCachePolicy' is obsolete: 'Use policies instead'