Module: RackGraphql

Defined in:
lib/rack_graphql.rb,
lib/rack_graphql/version.rb,
lib/rack_graphql/exceptions.rb,
lib/rack_graphql/middleware.rb,
lib/rack_graphql/application.rb,
lib/rack_graphql/health_response_builder.rb

Defined Under Namespace

Classes: Application, HealthResponseBuilder, Middleware

Constant Summary collapse

VERSION =
'3.7.0'.freeze
AmbiguousParamError =
Class.new(ArgumentError)

Class Attribute Summary collapse

Class Attribute Details

.log_exception_backtraceObject



17
18
19
20
21
# File 'lib/rack_graphql.rb', line 17

def log_exception_backtrace
  return @log_exception_backtrace unless @log_exception_backtrace.nil?

  %w[1 true].include?(ENV['RACK_GRAPHQL_LOG_EXCEPTION_BACKTRACE'].to_s)
end