-
-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
89 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace GraphQL.Utilities | ||
{ | ||
/// <summary> | ||
/// Options for schema printing when using <see cref="SchemaPrinter.Print"/>. | ||
/// </summary> | ||
public class SchemaPrinterOptions | ||
{ | ||
public List<string> CustomScalars { get; set; } = new List<string>(); | ||
|
||
public bool IncludeDescriptions { get; set; } = false; | ||
/// <summary> | ||
/// Indicates whether to print a description for types, fields, directives, arguments and other schema elements. | ||
/// </summary> | ||
public bool IncludeDescriptions { get; set; } | ||
|
||
public bool IncludeDeprecationReasons { get; set; } = false; | ||
/// <summary> | ||
/// Indicates whether to print a deprecation reason for fields and enum values. | ||
/// </summary> | ||
public bool IncludeDeprecationReasons { get; set; } | ||
|
||
public bool OldImplementsSyntax { get; set; } = false; | ||
/// <summary> | ||
/// Indicates whether to use ',' instead of '&' when inheriting a type from multiple interfaces. | ||
/// </summary> | ||
public bool OldImplementsSyntax { get; set; } | ||
} | ||
} |