lib/souls/generate/mutation.rb in souls-0.21.3 vs lib/souls/generate/mutation.rb in souls-0.21.4
- old
+ new
@@ -111,9 +111,10 @@
field :#{class_name}_edge, Types::#{class_name.camelize}NodeType, null: false
argument :id, String, required: true
EOS
end
+ file_path
end
def update_mutation_params class_name: "souls"
file_path = "./app/graphql/mutations/#{class_name}/update_#{class_name}.rb"
path = "./db/schema.rb"