Sha256: 44eb357e5fa1403b4af2b9bfa7c27a653073f527a7a5b2a52072cb524b44a145
Contents?: true
Size: 402 Bytes
Versions: 68
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true <% module_namespacing_when_supported do -%> module Mutations class <%= class_name %> < BaseMutation # TODO: define return fields # field :post, Types::PostType, null: false # TODO: define arguments # argument :name, String, required: true # TODO: define resolve method # def resolve(name:) # { post: ... } # end end end <% end -%>
Version data entries
68 entries across 68 versions & 1 rubygems