Add and apply ArgumentAlignment rubocop rule
We're choosing the default `with_first_argument` style because it's the one we use the most.
This commit is contained in:
@@ -12,7 +12,8 @@ class GraphqlController < ApplicationController
|
||||
begin
|
||||
raise GraphqlController::QueryStringError if query_string.nil?
|
||||
|
||||
result = ConsulSchema.execute(query_string,
|
||||
result = ConsulSchema.execute(
|
||||
query_string,
|
||||
variables: prepare_variables,
|
||||
context: {},
|
||||
operation_name: params[:operationName]
|
||||
|
||||
Reference in New Issue
Block a user