demarches-normaliennes/config/initializers/graphql.rb

18 lines
302 B
Ruby
Raw Normal View History

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