-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
1 parent
e8ebb4c
commit fd1e64e
Showing
16 changed files
with
77 additions
and
38 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/HotChocolate/Core/src/Types/Types/Contracts/DependencyInjectionScope.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
/// Defines the resolver dependency injection scopes. | ||
/// </summary> | ||
public enum DependencyInjectionScope | ||
{ | ||
/// <summary> | ||
/// Use standard request service scope. | ||
/// </summary> | ||
Request, | ||
|
||
/// <summary> | ||
/// Use a separate service scope for the resolver. | ||
/// </summary> | ||
Resolver, | ||
} |
2 changes: 2 additions & 0 deletions
2
src/HotChocolate/Core/src/Types/Types/Contracts/IComplexOutputType.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,3 +1,5 @@ | ||
#nullable enable | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace HotChocolate.Types; | ||
|
1 change: 1 addition & 0 deletions
1
src/HotChocolate/Core/src/Types/Types/Contracts/IDirectiveCollection.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,4 +1,5 @@ | ||
#nullable enable | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace HotChocolate.Types; | ||
|
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
4 changes: 2 additions & 2 deletions
4
src/HotChocolate/Core/src/Types/Types/Contracts/IEnumType~1.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
2 changes: 2 additions & 0 deletions
2
src/HotChocolate/Core/src/Types/Types/Contracts/IHasFieldCoordinate.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,3 +1,5 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
|
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,3 +1,5 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
|
8 changes: 8 additions & 0 deletions
8
src/HotChocolate/Core/src/Types/Types/Contracts/IHasOptional.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
internal interface IHasOptional | ||
{ | ||
bool IsOptional { get; } | ||
} |
10 changes: 10 additions & 0 deletions
10
src/HotChocolate/Core/src/Types/Types/Contracts/IHasProperty.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#nullable enable | ||
|
||
using System.Reflection; | ||
|
||
namespace HotChocolate.Types; | ||
|
||
internal interface IHasProperty | ||
{ | ||
PropertyInfo? Property { get; } | ||
} |
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
8 changes: 0 additions & 8 deletions
8
src/HotChocolate/Core/src/Types/Types/Contracts/ILiteralParser.cs
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
src/HotChocolate/Core/src/Types/Types/Contracts/INamedOutputType.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,10 +1,10 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
/// Represents a GraphQL output type which has a name. | ||
/// </summary> | ||
public interface INamedOutputType | ||
: INamedType | ||
, IOutputType | ||
{ | ||
} | ||
, IOutputType; |
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
2 changes: 2 additions & 0 deletions
2
src/HotChocolate/Core/src/Types/Types/Contracts/IOutputFieldInfo.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,3 +1,5 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
|
6 changes: 3 additions & 3 deletions
6
src/HotChocolate/Core/src/Types/Types/Contracts/ITypeSystemObject.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,10 +1,10 @@ | ||
#nullable enable | ||
|
||
namespace HotChocolate.Types; | ||
|
||
public interface ITypeSystemObject | ||
: IHasName | ||
, IHasDescription | ||
, IHasReadOnlyContextData | ||
, IHasScope | ||
, ITypeSystemMember | ||
{ | ||
} | ||
, ITypeSystemMember; |
23 changes: 22 additions & 1 deletion
23
src/HotChocolate/Core/src/Types/Types/Contracts/MemberKind.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,11 +1,32 @@ | ||
namespace HotChocolate.Types; | ||
|
||
/// <summary> | ||
/// GraphQL Type System Member Kind | ||
/// </summary> | ||
public enum MemberKind | ||
{ | ||
Field, | ||
/// <summary> | ||
/// GraphQL Interface Field. | ||
/// </summary> | ||
InterfaceField, | ||
|
||
/// <summary> | ||
/// GraphQL Object Field. | ||
/// </summary> | ||
ObjectField, | ||
|
||
/// <summary> | ||
/// GraphQL Input Object Field | ||
/// </summary> | ||
InputObjectField, | ||
|
||
/// <summary> | ||
/// GraphQL Output Field Argument | ||
/// </summary> | ||
Argument, | ||
|
||
/// <summary> | ||
/// GraphQL Directive Argument. | ||
/// </summary> | ||
DirectiveArgument, | ||
} |