This example demonstrates how we can cache the response fragments in graphql-ruby.
Existing solutions only allow caching resolved values but not all the GraphQL machinery (validation, coercion, whatever).
Caching response parts (in case of Ruby, sub-Hashes) is much more efficient.