Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public static async Task<bool> TryComposeAsync(
var environment = settings.EnvironmentName ?? "Aspire";
var compositionSettings = new CompositionSettings
{
Merger = { EnableGlobalObjectIdentification = settings.EnableGlobalObjectIdentification }
Merger = { EnableGlobalObjectIdentification = settings.EnableGlobalObjectIdentification },
Satisfiability = { IncludeSatisfiabilityPaths = settings.IncludeSatisfiabilityPaths },
Preprocessor = { ExcludeByTag = settings.ExcludeByTag?.ToHashSet() }
};
var sourceSchemas = newSourceSchemas.ToDictionary(
s => s.Name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ public struct GraphQLCompositionSettings
/// </summary>
public bool? EnableGlobalObjectIdentification { get; set; }

/// <summary>
/// Gets or sets a value indicating whether satisfiability paths should be included in the
/// composed schema.
/// </summary>
public bool? IncludeSatisfiabilityPaths { get; set; }

/// <summary>
/// Gets or sets the set of tags whose annotated schema elements shall be excluded from
/// composition.
/// </summary>
public ISet<string>? ExcludeByTag { get; set; }

/// <summary>
/// Gets or sets the environment name that shall be used for composition.
/// </summary>
Expand Down
Loading