File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4764,12 +4764,15 @@ let s:default_projections = {
47644764 \ },
47654765 \ " app/models/*.rb" : {
47664766 \ " affinity" : " model" ,
4767- \ " template" : [" class {camelcase|capitalize|colons}" , " end" ],
4767+ \ " template" : [" class {camelcase|capitalize|colons} < ApplicationRecord " , " end" ],
47684768 \ " type" : " model"
47694769 \ },
47704770 \ " app/graphql/types/*_type.rb" : {
47714771 \ " affinity" : " types" ,
4772- \ " template" : [" class {camelcase|capitalize|colons}" , " end" ],
4772+ \ " template" : [" Types::{camelcase|capitalize|colons}Type = GraphQL::ObjectType.define do" ,
4773+ \ " name \" {camelcase|capitalize|colons}\" " ,
4774+ \ " description \"\" " ,
4775+ \ " end" ],
47734776 \ " type" : " types"
47744777 \ },
47754778 \ " app/serializers/*_serializer.rb" : {
You can’t perform that action at this time.
0 commit comments