Skip to content

Commit

Permalink
Use of deprecated GraphQLPlayground was causing the build to fail
Browse files Browse the repository at this point in the history
  According to the failure message, one should use GraphiQL instead
  • Loading branch information
valbers committed Dec 4, 2024
1 parent 2d682f0 commit dbccf30
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion samples/chat-app/server/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ let main args =
if app.Environment.IsDevelopment () then
app.UseGraphQLAltair "/altair" |> ignore
app.UseGraphQLGraphiQL "/graphiql" |> ignore
app.UseGraphQLPlayground "/playground" |> ignore
app.UseGraphQLVoyager "/voyager" |> ignore
app.UseRouting () |> ignore
app.UseEndpoints (fun endpoints -> endpoints.MapNitroApp (PathString "/nitro") |> ignore)
Expand Down
1 change: 0 additions & 1 deletion samples/relay-book-store/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ let main argv =
if app.Environment.IsDevelopment () then
app.UseGraphQLAltair "/altair" |> ignore
app.UseGraphQLGraphiQL "/graphiql" |> ignore
app.UseGraphQLPlayground "/playground" |> ignore
app.UseGraphQLVoyager "/voyager" |> ignore
app.UseRouting () |> ignore
app.UseEndpoints (fun endpoints -> endpoints.MapNitroApp (PathString "/nitro") |> ignore)
Expand Down
1 change: 0 additions & 1 deletion samples/star-wars-api/Startup.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ type Startup private () =
if env.IsDevelopment () then
app.UseGraphQLAltair "/altair" |> ignore
app.UseGraphQLGraphiQL "/graphiql" |> ignore
app.UseGraphQLPlayground "/playground" |> ignore
app.UseGraphQLVoyager "/voyager" |> ignore
app.UseRouting () |> ignore
app.UseEndpoints (fun endpoints -> endpoints.MapNitroApp (PathString "/nitro") |> ignore)
Expand Down

0 comments on commit dbccf30

Please sign in to comment.