document

abstract fun document(): String

The GraphQL operation String to be sent to the server. This might differ from the input *.graphql file with:

  • whitespaces removed

  • Apollo client directives like @catch removed

  • typename fields added for polymorphic/fragment cases