Sha256: 300b890acf6e00638af5605622e1f0e96ce68bc0164f5ceeb1e621a6d01662e7
Contents?: true
Size: 575 Bytes
Versions: 44
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 CreatePostMutation class MutationUpdateGenerator < OrmMutationsBase desc "Scaffold a Relay Classic ORM update mutation for the given model class" source_root File.expand_path('../templates', __FILE__) private def operation_type "update" end end end end
Version data entries
44 entries across 44 versions & 1 rubygems