Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added HTTP GET Middleware Options (#2583)
- Loading branch information
1 parent
0a76b29
commit 13ebe83
Showing
112 changed files
with
1,645 additions
and
509 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...spNetCore/Utilities/AllowedContentType.cs → ...Core/src/AspNetCore/AllowedContentType.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
6 changes: 2 additions & 4 deletions
6
...e/src/AspNetCore/Utilities/ContentType.cs → .../AspNetCore/src/AspNetCore/ContentType.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
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
4 changes: 2 additions & 2 deletions
4
...ilities/DelegateHttpRequestInterceptor.cs → ...NetCore/DelegateHttpRequestInterceptor.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: 1 addition & 1 deletion
2
...e/src/AspNetCore/Utilities/ErrorHelper.cs → .../AspNetCore/src/AspNetCore/ErrorHelper.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
22 changes: 22 additions & 0 deletions
22
src/HotChocolate/AspNetCore/src/AspNetCore/Extensions/GraphQLEndpointConventionBuilder.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,22 @@ | ||
using System; | ||
using Microsoft.AspNetCore.Builder; | ||
|
||
namespace HotChocolate.AspNetCore.Extensions | ||
{ | ||
/// <summary> | ||
/// Represents the endpoint convention builder for GraphQL. | ||
/// </summary> | ||
public sealed class GraphQLEndpointConventionBuilder : IEndpointConventionBuilder | ||
{ | ||
private readonly IEndpointConventionBuilder _builder; | ||
|
||
internal GraphQLEndpointConventionBuilder(IEndpointConventionBuilder builder) | ||
{ | ||
_builder = builder; | ||
} | ||
|
||
/// <inheritdoc /> | ||
public void Add(Action<EndpointBuilder> convention) => | ||
_builder.Add(convention); | ||
} | ||
} |
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
32 changes: 29 additions & 3 deletions
32
.../AspNetCore/Extensions/HotChocolateAspNetCoreServiceCollectionExtensions.Subscriptions.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
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
Oops, something went wrong.