Sha256: 45e796fdc4806db98def5bb64ba7b560fdb0658cd4bcf7591d5776b084a61651

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

module Types
  class QueryType < Types::BaseObject
    field :categories, function: Resolvers::CategorySearch
    field :posts, resolver: Resolvers::PostSearch
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
search_object_graphql-0.3.2 example/app/graphql/types/query_type.rb
search_object_graphql-0.3.1 example/app/graphql/types/query_type.rb
search_object_graphql-0.3 example/app/graphql/types/query_type.rb
search_object_graphql-0.2 example/app/graphql/types/query_type.rb