Sha256: ea5a26cff2c0eaea9fb864705f6b32cea7b4c54782dd3590b1ea4f8727b608e4

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

module Queries
  class Articles < Queries::BaseQuery
    type [Types::ArticleType], null: false

    def resolve
      ::Article.all
    rescue StandardError => e
      GraphQL::ExecutionError.new(e)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
souls-0.24.2 apps/api/app/graphql/queries/articles.rb
souls-0.24.1 apps/api/app/graphql/queries/articles.rb
souls-0.22.8 hoy/app/graphql/queries/articles.rb
souls-0.22.7 hoy/app/graphql/queries/articles.rb