Sha256: 0c2a121bfb5c1e8d56daa4fe1b47defddf671e87cc08809b7ea0beed47edf3fc
Contents?: true
Size: 201 Bytes
Versions: 11
Compression:
Stored size: 201 Bytes
Contents
module Resolvers class PublicUser < GraphQL::Schema::Resolver type Types::UserType, null: false argument :id, Int, required: true def resolve(id:) User.find(id) end end end
Version data entries
11 entries across 11 versions & 1 rubygems