Sha256: e3c5037be78f39a819b86d52fc864be794c29b63b707130aa622ef75183c350c
Contents?: true
Size: 368 Bytes
Versions: 6
Compression:
Stored size: 368 Bytes
Contents
class <%= class_name %>Mutator < ApplicationMutator <%= class_name %>InputType = GraphQL::InputObjectType.define do name '<%= class_name %>Input' parameter :id, !types.ID end parameter :input, !<%= class_name %>InputType <%- type_name = file_name.split('_').drop(1).join('_').camelize -%> type !Types::<%= type_name %>Type def mutate end end
Version data entries
6 entries across 6 versions & 1 rubygems