Class ObjectResponse


  • public abstract class ObjectResponse
    extends AbstractGraphQLRequest
    This useless class is here only for compatibility with existing code, developped before the 1.6 release. It's actually just a wrapper for the AbstractGraphQLRequest. It allows this kind of code to work as before:
     ObjectResponse withHeroResponse = queryType.getHeroBuilder()
             .withQueryResponseDef("{id name appearsIn friends {id name}}").build();
     
     [...]
     
     Character c = queryType.hero(withHeroResponse, character);
     
    Author:
    etienne-sf