lib/generators/graphql/install_generator.rb in graphql-1.13.6 vs lib/generators/graphql/install_generator.rb in graphql-1.13.7

- old
+ new

@@ -107,10 +107,10 @@ # Note: You can't have a schema without the query type, otherwise introspection breaks template("query_type.erb", "#{options[:directory]}/types/query_type.rb") insert_root_type('query', 'QueryType') - create_mutation_root_type unless options.skip_mutation_root_type? + invoke "graphql:install:mutation_root" unless options.skip_mutation_root_type? template("graphql_controller.erb", "app/controllers/graphql_controller.rb") route('post "/graphql", to: "graphql#execute"') if options[:batch]