-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed Introspection Operation Name (#6057)
- Loading branch information
1 parent
aee0229
commit 95e4558
Showing
30 changed files
with
823 additions
and
822 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
28 changes: 21 additions & 7 deletions
28
src/HotChocolate/Utilities/src/Utilities.Introspection/ISchemaFeatures.cs
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,9 +1,23 @@ | ||
namespace HotChocolate.Utilities.Introspection | ||
namespace HotChocolate.Utilities.Introspection; | ||
|
||
/// <summary> | ||
/// Represents the features that are supported by a GraphQL server. | ||
/// </summary> | ||
public interface ISchemaFeatures | ||
{ | ||
public interface ISchemaFeatures | ||
{ | ||
bool HasDirectiveLocations { get; } | ||
bool HasRepeatableDirectives { get; } | ||
bool HasSubscriptionSupport { get; } | ||
} | ||
/// <summary> | ||
/// Gets a value that indicates whether the server supports the | ||
/// newer directive locations on when introspecting. | ||
/// </summary> | ||
bool HasDirectiveLocations { get; } | ||
|
||
/// <summary> | ||
/// Gets a value that indicates whether the server supports the repeatable directives. | ||
/// </summary> | ||
bool HasRepeatableDirectives { get; } | ||
|
||
/// <summary> | ||
/// Gets a value that indicates whether the server supports subscriptions. | ||
/// </summary> | ||
bool HasSubscriptionSupport { get; } | ||
} |
Oops, something went wrong.