demarches-normaliennes/config/initializers/graphql.rb

20 lines
333 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-11-19 20:55:45 +01:00
GraphQL::RailsLogger.configure do |config|
config.white_list = {
'API::V2::GraphqlController' => ['execute']
}
end
module GraphQL
class Schema
class Member
module BuildType
def self.camelize(string)
string.camelize(:lower)
end
end
end
end
end