Interface GraphQLRequestObject

All Known Implementing Classes:
MutationType, QueryType, SubscriptionType

public interface GraphQLRequestObject
This interface marks a class as being the implementation for the GraphQL type defined in the GraphQL schema, that is a query, a mutation or a subscription.
Author:
etienne-sf
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setExtensions(com.fasterxml.jackson.databind.JsonNode extensions)
    Set the GraphQL response's extensions field.
  • Method Details

    • setExtensions

      void setExtensions(com.fasterxml.jackson.databind.JsonNode extensions)
      Set the GraphQL response's extensions field. The generated classes for the query, mutation and subscription of a GraphQL schema implement this interface. This allows to access to the _extensions_ field, when using Full Queries. See the <A HREF="https://github.com/graphql-java-generator/graphql-maven-plugin-project/wiki/client_exec_graphql_requests>Client page about request execution for more information.
      Parameters:
      extensions -