Sha256: 8494cc06b8d9234a2c68b3259189a8027e2f680a940683161e52a475d8260094
Contents?: true
Size: 224 Bytes
Versions: 4
Compression:
Stored size: 224 Bytes
Contents
module Queries class Me < Queries::BaseQuery type Types::UserType, null: false def resolve ::User.find(context[:user].id) 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/me.rb |
souls-0.24.1 | apps/api/app/graphql/queries/me.rb |
souls-0.22.8 | hoy/app/graphql/queries/me.rb |
souls-0.22.7 | hoy/app/graphql/queries/me.rb |