Method: GraphQL::Query#document
- Defined in:
- lib/graphql/query.rb
#document ⇒ GraphQL::Language::Nodes::Document
102 103 104 105 106 107 108 109 |
# File 'lib/graphql/query.rb', line 102 def document # It's ok if this hasn't been assigned yet if @query_string || @document with_prepared_ast { @document } else nil end end |