juniper/juniper_rocket/README.md
Kai Ren bd8dc582a4
Fix handling GET request in juniper_rocket example (#1223, #1098)
- rework `rocket_server` example as `simple`
- provide example in `GraphQLRequest` API docs
- mention GET query format in  `GraphQLRequest` API docs and `simple` example

Additionally:
- fix `operationName` query parameter handling
- make `graphiql_source()` and `playground_source()` polymorphic over `subscriptions_endpoint_url` argument
- provide examples in `graphiql_source()` and `playground_source()` API docs
- move integration HTTP tests to a separate file
- test both sync and async `juniper_rocket` in integration HTTP tests
- polish `FromForm` unit tests
2023-11-24 17:51:32 +00:00

1.5 KiB

juniper_rocket crate

Crates.io Documentation CI Rust 1.73+

rocket web server integration for juniper (GraphQL implementation for Rust).

Documentation

For documentation, including guides and examples, check out Juniper Book.

A basic usage example can also be found in the API docs.

Examples

Check examples/simple.rs for example code of a working rocket server with GraphQL handlers.

License

This project is licensed under BSD 2-Clause License.