Sha256: 2c4be796b0f0cbc9bc81387fc75ca821a2dba57f9a8bb05379786f62ee7f64e9
Contents?: true
Size: 378 Bytes
Versions: 2
Compression:
Stored size: 378 Bytes
Contents
<% module_namespacing_when_supported do -%> module Resolvers class <%= resolver_name %> < <%= "#{resolver_name}Aggregate" %> # TODO: define return fields type [Types::Objects::<%= model_name.capitalize %>Type], null: false # TODO: define resolve method def resolve(args) super(args).limit(args[:limit]).offset(args[:offset]) end end end <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ibrain-core-0.1.1 | lib/generators/ibrain/graphql/templates/resolvers.erb |
ibrain-core-0.1.0 | lib/generators/ibrain/graphql/templates/resolvers.erb |