lib/generators/graphql/templates/graphql_controller.erb in graphql-1.9.21 vs lib/generators/graphql/templates/graphql_controller.erb in graphql-1.10.0.pre1

- old
+ new

@@ -1,10 +1,5 @@ class GraphqlController < ApplicationController - # If accessing from outside this domain, nullify the session - # This allows for outside API access while preventing CSRF attacks, - # but you'll have to authenticate your user separately - # protect_from_forgery with: :null_session - def execute variables = ensure_hash(params[:variables]) query = params[:query] operation_name = params[:operationName] context = {