Method: GraphQL::Query#query_string

Defined in:
lib/graphql/query.rb

#query_stringObject

If a document was provided to GraphQL::Schema#execute instead of the raw query string, we will need to get it from the document



214
215
216
# File 'lib/graphql/query.rb', line 214

def query_string
  @query_string ||= (document ? document.to_query_string : nil)
end