File tree Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 6969 <PackageReference Update =" EntityFramework" Version =" 1.*" />
7070 <PackageReference Update =" FSharp.Data.TypeProviders" Version =" 1.*" />
7171 <PackageReference Update =" Giraffe" Version =" 6.*" />
72+ <PackageReference Update =" GraphQL.Server.Ui.Altair" Version =" 7.*" />
73+ <PackageReference Update =" GraphQL.Server.Ui.GraphiQL" Version =" 7.*" />
7274 <PackageReference Update =" GraphQL.Server.Ui.Playground" Version =" 7.*" />
7375 <PackageReference Update =" GraphQL.Server.Ui.Voyager" Version =" 7.*" />
7476 <PackageReference Update =" HotChocolate.AspNetCore" Version =" 13.*" />
Original file line number Diff line number Diff line change 77
88 <ItemGroup >
99 <PackageReference Include =" FsToolkit.ErrorHandling.TaskResult" />
10+ <PackageReference Include =" GraphQL.Server.Ui.Altair" />
11+ <PackageReference Include =" GraphQL.Server.Ui.GraphiQL" />
1012 <PackageReference Include =" GraphQL.Server.Ui.Playground" />
1113 <PackageReference Include =" GraphQL.Server.Ui.Voyager" />
1214 <PackageReference Include =" HotChocolate.AspNetCore" />
Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ let main args =
2727 let app = builder.Build ()
2828
2929 if app.Environment.IsDevelopment () then
30- app.UseGraphQLPlayground ( " /playground" ) |> ignore
31- app.UseGraphQLVoyager ( " /voyager" ) |> ignore
30+ app.UseGraphQLAltair " /altair" |> ignore
31+ app.UseGraphQLGraphiQL " /graphiql" |> ignore
32+ app.UseGraphQLPlayground " /playground" |> ignore
33+ app.UseGraphQLVoyager " /voyager" |> ignore
3234 app.UseRouting () |> ignore
3335 app.UseEndpoints ( fun endpoints -> endpoints.MapBananaCakePop ( PathString " /cakePop" ) |> ignore)
3436 |> ignore
Original file line number Diff line number Diff line change 88
99 <ItemGroup Label =" PackageReferences" >
1010 <PackageReference Include =" FsToolkit.ErrorHandling.TaskResult" />
11+ <PackageReference Include =" GraphQL.Server.Ui.Altair" />
12+ <PackageReference Include =" GraphQL.Server.Ui.GraphiQL" />
1113 <PackageReference Include =" GraphQL.Server.Ui.Playground" />
1214 <PackageReference Include =" GraphQL.Server.Ui.Voyager" />
1315 <PackageReference Include =" HotChocolate.AspNetCore" />
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ type Startup private () =
3535 clearResponse >=> setStatusCode 500
3636
3737 if env.IsDevelopment () then
38- app.UseGraphQLPlayground ( " /playground" ) |> ignore
39- app.UseGraphQLVoyager ( " /voyager" ) |> ignore
38+ app.UseGraphQLAltair " /altair" |> ignore
39+ app.UseGraphQLGraphiQL " /graphiql" |> ignore
40+ app.UseGraphQLPlayground " /playground" |> ignore
41+ app.UseGraphQLVoyager " /voyager" |> ignore
4042 app.UseRouting () |> ignore
4143 app.UseEndpoints ( fun endpoints -> endpoints.MapBananaCakePop ( PathString " /cakePop" ) |> ignore)
4244 |> ignore
You can’t perform that action at this time.
0 commit comments