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.5.15 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.13 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.12 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.10 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.9 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.8 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.7 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.6 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.5 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.4 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.3 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.2 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.1 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.5.0 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.9 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.8 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.7 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.5 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.4 lib/generators/ibrain/graphql/templates/resolvers.erb
ibrain-core-0.4.3 lib/generators/ibrain/graphql/templates/resolvers.erb