Sha256: f8579c1061d546b8f56124f4741734681dd6cabba15987437851661b34f8052e

Contents?: true

Size: 516 Bytes

Versions: 6

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing_when_supported do -%>
module Resolvers
  class <%= resolver_name %> < <%= resolver_name %>Aggregate
    # TODO: define description describe about this mutation
    # description

    # TODO: define return fields
    type [Types::Objects::<%= model_name.capitalize %>Type], null: false, description: 'Define data type will be response to client'

    # TODO: define resolve method
    def resolve(args)
      super(args).paginate(args)
    end
  end
end
<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ibrain-core-0.1.9 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.1.8 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.1.7 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.1.6 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.1.5 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.1.4 lib/generators/ibrain/graphql/templates/resolvers.erb