Playing with Rust, Rocket, Juniper.
Go to file
Alex Wright b7211a77e4 This took most of today to get working.
GraphQL interface to a list of names.. to can query by id, and can add
names. There's no dupe check, no remove/delete, not even a way to
enumerate stored values.

The trickiest part of the incrementing id for addPerson. Initially I
reused some of the HashMap in a Mutex pattern to store u32s, well u8 at
first but that doesn't cast to a juniper scalar type. I don't know why
that didn't work. The incremented value didn't seem to persist in the
hash.
2021-07-11 13:33:02 +00:00
src This took most of today to get working. 2021-07-11 13:33:02 +00:00
.gitignore This took most of today to get working. 2021-07-11 13:33:02 +00:00
Cargo.lock This took most of today to get working. 2021-07-11 13:33:02 +00:00
Cargo.toml This took most of today to get working. 2021-07-11 13:33:02 +00:00