QueryType = GraphQL::ObjectType.define do
  name "Query"
  description "The query root for this schema"

  field :simple do
    type SimpleType
    description "Simple Stuff"
    resolve -> (obj, args, ctx) do
      { name: 'Simpleton' }
    end
  end

  field :node, field: NodeIdentification.field
end

QueryType = GraphQL::ObjectType.define do
  name "Query"
  description "The query root for this schema"

  field :simple do
    type SimpleType
    description "Simple Stuff"
    resolve -> (obj, args, ctx) do
      Hashie::Mash.new({ id: rand(1000), name: 'Simpleton' })
    end
  end

  field :node, field: NodeIdentification.field
end

Add id to Simple since it is require by :node query field
Add id to Simple since it is require by :node query field
