在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jetruby/graphql-rails_logger开源软件地址(OpenSource Url):https://github.com/jetruby/graphql-rails_logger开源编程语言(OpenSource Language):Ruby 97.3%开源软件介绍(OpenSource Introduction):GraphQL::RailsLoggerAboutThis gem allows you to inspect graphql queries in a more readable format. This... becomes this ... InstallationAdd this line to your application's Gemfile: gem 'graphql-rails_logger' And then execute:
ConfigurationBy default this gem formats params only for If you want to change this behaviour, add GraphQL::RailsLogger.configure do |config|
config.white_list = {
'QueriesController' => %w(create)
}
end There is an option to suppress (hide) the GraphQL Introspection Query from the console output. This may be helpful to declutter the console during client testing as these can be rather lengthy. GraphQL::RailsLogger.configure do |config|
config.skip_introspection_query = true
end The theme can be configured as well. The theme is applied using the rouge gem, where all available options can be found. The default value is GraphQL::RailsLogger.configure do |config|
config.theme = Rouge::Themes::Pastie.new
end ContributingBug reports and pull requests are welcome on GitHub at https://github.com/jetruby/graphql-rails_logger. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. LicenseThe gem is available as open source under the terms of the MIT License. Code of ConductEveryone interacting in the GraphQL::RailsLogger project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct. About JetRubyGraphQL::RailsLogger is maintained and founded by JetRuby Agency. We love open source software! See our projects or contact us to design, develop, and grow your product. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论