Skip to content

Commit

Permalink
Removed GraphiQL middleware (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
rstaib authored and michaelstaib committed Jan 25, 2020
1 parent a259ed4 commit 9dde8e1
Show file tree
Hide file tree
Showing 36 changed files with 95 additions and 55,726 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

### Removed

- _GraphiQL_ middleware [#1411](https://github.com/ChilliCream/hotchocolate/pull/1411)

## [10.3.1]

- Fixed issue that private setters where not used during input deserialization.
Expand All @@ -30,7 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Stop adding the __typename field when it's in selection on schema stitching. [#1248](https://github.com/ChilliCream/hotchocolate/pull/1248)
- Stop adding the \_\_typename field when it's in selection on schema stitching. [#1248](https://github.com/ChilliCream/hotchocolate/pull/1248)
- Improved Type Discovery. [#1281](https://github.com/ChilliCream/hotchocolate/pull/1281)

### Fixed
Expand Down Expand Up @@ -62,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- FilterTypes produce schema errors when filters properties are nullable. [#1034](https://github.com/ChilliCream/hotchocolate/pull/1034)
- MongoDB & Filter on `Boolean` property: the "_not" filter throws an exception. [#1033](https://github.com/ChilliCream/hotchocolate/pull/1033)
- MongoDB & Filter on `Boolean` property: the "\_not" filter throws an exception. [#1033](https://github.com/ChilliCream/hotchocolate/pull/1033)
- Input object is not validated when given entirely as a variable [#1074](https://github.com/ChilliCream/hotchocolate/pull/1074)
- Variables parsing: Issue with nested `DateTime` fields in variables [#1037](https://github.com/ChilliCream/hotchocolate/pull/1037)
- DateTime Filters not working. [#1036](https://github.com/ChilliCream/hotchocolate/pull/1036)
Expand Down Expand Up @@ -259,7 +263,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- IErrorFilter is not given the exception unless IncludeExceptionDetails is enabled. [#637](https://github.com/ChilliCream/hotchocolate/issues/638)
- Parse and validation event tracked wrong duration.
- Schema-First descriptions are now correctly included into the schema. [#647](https://github.com/ChilliCream/hotchocolate/issues/647)
- __type argument was named `type` instead of `name`. [spec](https://facebook.github.io/graphql/June2018/#sec-Introspection)
- \_\_type argument was named `type` instead of `name`. [spec](https://facebook.github.io/graphql/June2018/#sec-Introspection)
- The server template is now working again. [#657](https://github.com/ChilliCream/hotchocolate/issues/657)
- Non-nullable types are now validated when query uses variables. [#651](https://github.com/ChilliCream/hotchocolate/issues/651)
- Variable handling im middleware does not convert the DateTime value anymore. [#664](https://github.com/ChilliCream/hotchocolate/issues/664)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -165,7 +165,7 @@ protected override void Configure(IApplicationBuilder app, IHostingEnvironment e
}
```

This will set up all the necessary endpoints to query the GraphQL schema via HTTP GET or HTTP POST. In order to run a query against your schema, start your web host and get [GraphiQL](https://github.com/graphql/graphiql).
This will set up all the necessary endpoints to query the GraphQL schema via HTTP GET or HTTP POST. In order to run a query against your schema, start your web host and get [Banana Cake Pop](https://hotchocolate.io/docs/banana-cakepop).

By default, the middleware will be configured to listen on the service root for GraphQL requests. If you want to use a different endpoint route you can pass the desired route into the UseGraphQL instruction.

Expand Down
1 change: 0 additions & 1 deletion examples/AspNetCore.StarWars/AspNetCore.StarWars.csproj
Expand Up @@ -22,7 +22,6 @@
<ProjectReference Include="..\..\src\Core\Subscriptions.InMemory\Subscriptions.InMemory.csproj" />
<ProjectReference Include="..\..\src\Server\AspNetCore\AspNetCore.csproj" />
<ProjectReference Include="..\..\src\Server\AspNetCore.Authorization\AspNetCore.Authorization.csproj" />
<ProjectReference Include="..\..\src\Server\AspNetCore.GraphiQL\AspNetCore.GraphiQL.csproj" />
<ProjectReference Include="..\..\src\Server\AspNetCore.Playground\AspNetCore.Playground.csproj" />
<ProjectReference Include="..\..\src\Server\AspNetCore.Voyager\AspNetCore.Voyager.csproj" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion examples/AspNetCore.StarWars/Startup.cs
Expand Up @@ -81,7 +81,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
app
.UseWebSockets()
.UseGraphQL("/graphql")
.UseGraphiQL("/graphql")
.UsePlayground("/graphql")
.UseVoyager("/graphql");
}
Expand Down
110 changes: 0 additions & 110 deletions src/Server/AspNetCore.Abstractions/GraphiQLOptionsBase.cs

This file was deleted.

151 changes: 0 additions & 151 deletions src/Server/AspNetCore.GraphiQL/ApplicationBuilderExtensions.cs

This file was deleted.

35 changes: 0 additions & 35 deletions src/Server/AspNetCore.GraphiQL/AspNetCore.GraphiQL.csproj

This file was deleted.

22 changes: 0 additions & 22 deletions src/Server/AspNetCore.GraphiQL/GraphiQLOptions.cs

This file was deleted.

0 comments on commit 9dde8e1

Please sign in to comment.