Sha256: 8e0f4a5f768829af3457da9376e39239da2f634642d9ced24d3bb68e31148943
Contents?: true
Size: 573 Bytes
Versions: 23
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true <% module_namespacing_when_supported do -%> module Resolvers class <%= resolver_name %> < Ibrain::Resolvers::BaseResolver # TODO: define description describe about this mutation # description # TODO: define return fields type Types::Objects::<%= model_name.capitalize %>Type, null: false argument :id, ID, required: false, description: 'TODO: describe about this argument' # TODO: define resolve method def resolve(args) <%= model_name.capitalize %>Repository.find args[:id] end end end <% end -%>
Version data entries
23 entries across 23 versions & 1 rubygems