code: public ExecutionResult addTo(ExecutionResult executionResult) {
          return ExecutionResultImpl.newExecutionResult()
                                    .from(executionResult)
                                    .addExtension(CACHE_CONTROL_EXTENSION_KEY, hintsToCacheControlProperties())
                                    .build();
      }
docs: This will record the values in the cache control object into the provided execution result object which creates a new {@link graphql.ExecutionResult}
  object back out
  
  @param executionResult the starting execution result object
  
  @return a new execution result with the hints in the extensions map.