Sha256: 1c6c27a6254ca8a58c2b5df7b7991376bb29f4829044e9a2cd44402b1b871a6f
Contents?: true
Size: 232 Bytes
Versions: 25
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true 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
25 entries across 25 versions & 1 rubygems