Sha256: 66eaff1095dbbe48b969ec2371e56cc9ee2d1e114e1923a0a41a97661d666b37

Contents?: true

Size: 456 Bytes

Versions: 50

Compression:

Stored size: 456 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

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
ibrain-core-0.4.2 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.0 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.9 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.8 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.7.rc.pre.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.7 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.6.pre.rc.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.6 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.5 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.4 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.3.pre.rc.2 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.3.pre.rc.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.3 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.2.pre.rc.4 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.2.pre.rc.3 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.2.pre.rc lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.2 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.3.0 lib/generators/ibrain/graphql/templates/resolvers.erb