Sha256: a8cb0dd8379cfadff4ec159e6f2ffd991e00474500b2b3be32da98381170128d
Contents?: true
Size: 230 Bytes
Versions: 26
Compression:
Stored size: 230 Bytes
Contents
# frozen_string_literal: true module Resolvers class UserShow < 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
26 entries across 26 versions & 1 rubygems