This website requires JavaScript.
Explore
Help
Sign In
alex
/
rust-graphql-goof
Watch
1
Star
0
Fork
You've already forked rust-graphql-goof
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
b7211a77e4
rust-graphql-goof
/
.gitignore
2 lines
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 12:16:47 +00:00
/target