Sha256: 1341fc05f2f7869d6d9fddf24a1cd117c4696f6c21152d62bebe60e849acfd00

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Yogurt
  class QueryDeclaration < T::Struct
    const :container, T.all(Module, QueryContainer)
    const :operations, T::Array[String]
    const :query_text, String
    const :schema, T.class_of(GraphQL::Schema)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yogurt-0.2.0 lib/yogurt/query_declaration.rb
yogurt-0.1.1 lib/yogurt/query_declaration.rb