graphql-client
graphql-client copied to clipboard
Feature idea: optionally generate proptest/quickcheck generators for the responses
I haven't worked with property-based testing in Rust yet, so I don't know how feasible that would be.
The use-case would be testing your code against any data that the server may return by generating random responses that match the expected type. That can be used to check for panics for example.
Or maybe it works with a derive? We have to check out the libraries.