Sha256: 0f079662b906d1707732fcb1bebbf11b1a80f3a016bae2212bb4bcc6a9653881
Contents?: true
Size: 575 Bytes
Versions: 76
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true require_relative 'orm_mutations_base' module Graphql module Generators # TODO: What other options should be supported? # # @example Generate a `GraphQL::Schema::RelayClassicMutation` by name # rails g graphql:mutation DeletePostMutation class MutationDeleteGenerator < OrmMutationsBase desc "Scaffold a Relay Classic ORM delete mutation for the given model class" source_root File.expand_path('../templates', __FILE__) private def operation_type "delete" end end end end
Version data entries
76 entries across 76 versions & 1 rubygems