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 @nonnull removed

  • typename fields added for polymorphic/fragment cases