Sha256: 9084a4216e18158bb9ecc3af5cf0260b39dbc4c052d21dd0dfa6405869e7aa4b

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

module Queries
  class Users < Queries::BaseQuery
    type [Types::UserType], null: false

    def resolve
      ::User.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/users.rb
souls-0.24.1 apps/api/app/graphql/queries/users.rb
souls-0.22.8 hoy/app/graphql/queries/users.rb
souls-0.22.7 hoy/app/graphql/queries/users.rb