Fix schema compare exclude behaviour (#884)

* Send back dependencies causing the exclude to fail instead of blocking the call

* Separate AffectedDependences and BlockingDependencies into separate properties

* add named parameters

* separate out include/exclude success cases for clarity
This commit is contained in:
Kim Santiago
2019-10-25 18:01:33 -07:00
committed by GitHub
parent 57b7126ccf
commit b9faabb704
4 changed files with 44 additions and 29 deletions

View File

@@ -47,6 +47,15 @@ namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
/// </summary>
public class SchemaCompareIncludeExcludeResult : ResultStatus
{
public List<DiffEntry> ChangedDifferences { get; set; }
/// <summary>
/// Dependencies that may have been affected by the include/exclude request
/// </summary>
public List<DiffEntry> AffectedDependencies { get; set; }
/// <summary>
/// Dependencies that caused the include/exclude to fail
/// </summary>
public List<DiffEntry> BlockingDependencies { get; set; }
}
}