mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 01:25:42 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user