File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4790,6 +4790,19 @@ let s:default_projections = {
47904790 \ " end" ],
47914791 \ " type" : " resolver"
47924792 \ },
4793+ \ " app/graphql/mutations/*_mutation.rb" : {
4794+ \ " affinity" : " mutation" ,
4795+ \ " template" : [" Mutations::{camelcase|capitalize|colons}Mutation = GraphQL::Relay::Mutation.define do" ,
4796+ \ " name \" {camelcase|capitalize|colons}\" " ,
4797+ \ " " ,
4798+ \ " # return_field :return_field, return_type" ,
4799+ \ " # input_field :input_field, !input_type" ,
4800+ \ " " ,
4801+ \ " resolve ->(obj, input, ctx) {" ,
4802+ \ " }" ,
4803+ \ " end" ],
4804+ \ " type" : " mutation"
4805+ \ },
47934806 \ " app/serializers/*_serializer.rb" : {
47944807 \ " template" : [" class {camelcase|capitalize|colons}Serializer < ActiveModel::Serializer" , " end" ],
47954808 \ " type" : " serializer"
You can’t perform that action at this time.
0 commit comments