Schema compare include/exclude changes (#881)

* send back success of include/exclude request

* update dacfx nuget package and use new api to get affected dependencies of include/exclude request

* addressing comments

* rename test

* Addressing comments
This commit is contained in:
Kim Santiago
2019-10-24 17:11:30 -07:00
committed by GitHub
parent a0e56c5747
commit e60fc1a16c
9 changed files with 170 additions and 10 deletions

View File

@@ -245,10 +245,17 @@ namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare
operation.Execute(parameters.TaskExecutionMode);
await requestContext.SendResult(new ResultStatus()
// update the comparison result if the include/exclude was successful
if(operation.Success)
{
Success = true,
ErrorMessage = operation.ErrorMessage
schemaCompareResults.Value[parameters.OperationId] = operation.ComparisonResult;
}
await requestContext.SendResult(new SchemaCompareIncludeExcludeResult()
{
Success = operation.Success,
ErrorMessage = operation.ErrorMessage,
ChangedDifferences = operation.ChangedDifferences
});
}
catch (Exception e)