graphql-rust / juniper

GraphQL server library for Rust
Other
5.69k stars 422 forks source link

Update GraphQL Playground to 1.7.28 version (#1069) #1190

Closed tyranron closed 1 year ago

tyranron commented 1 year ago

Extends #1069
Follows #1188

Synopsis

See https://github.com/graphql-rust/juniper/pull/1069#issuecomment-1138685047:

GraphiQL and GraphQL Playground updates go fully unnoticed for us. I think it's time do to something about it.

It would be nice to add a package.json manifest to the repository with a versions range of GraphiQL and GraphQL Playground (along with the yarn.lock file), where in the post-install stage we copy the sources of GraphiQL/GraphQL Playground to juniper/src/ dir, and in the code we use include_str!() at the propriate places.

Finally, we make dependabot to look after GraphiQL/GraphQL Playground updates for us.

Solution

Tracks graphql-playground-react versions via package.json the same way as graphiql. Also adds similar simple toolchain downloading and adopting its actual integration files.