7 lines
594 B
Markdown
7 lines
594 B
Markdown
|
# Playing around with Rust, Rocket, Juniper
|
||
|
|
||
|
Little demo/test playing with Rust, Rocket, Juniper to get a GraphQL interface to a list of names basicly.
|
||
|
|
||
|
My Rust knowlage is rusty.. took me most of a day to get something together to compile a schema. Threadsafey was killing me on that incrementing id for about two hours. By the end when wrapping that `.values()` iter in a Juniper `graphql_object` I actually wrote that and it compiled first time! Very Wow.
|
||
|
|
||
|
![Screenshot of me using the Graphiql interface hosted by the app](https://xeen.dev/alex/rust-graphql-goof/raw/branch/binary/demo.png)
|