【文件属性】:
文件名称:apollo-tracing-ruby:[需要的维护者] Apollo Tracing格式的GraphQL跟踪数据的Ruby实现
文件大小:17KB
文件格式:ZIP
更新时间:2021-02-04 13:05:06
ruby graphql graphql-ruby apollo-tracing apollo-engine
阿波罗追踪
跟踪数据的Ruby实现采用格式。
内容
安装
将此行添加到您的应用程序的Gemfile中:
gem 'apollo-tracing'
然后执行:
$ bundle
或自己安装为:
$ gem install apollo-tracing
用法
定义一个GraphQL模式:
# Define a type
PostType = GraphQL :: ObjectType . define do
name "Post"
field :id , ! types . ID
field :title , ! types . String
end
# Define a
【文件预览】:
apollo-tracing-ruby-master
----.gitignore(145B)
----Makefile(957B)
----.rspec(31B)
----bin()
--------setup(154B)
--------console(349B)
----.travis.yml(94B)
----CODE_OF_CONDUCT.md(3KB)
----.ruby-version(6B)
----CHANGELOG.md(4KB)
----apollo-tracing.gemspec(1KB)
----LICENSE.txt(1KB)
----spec()
--------spec_helper.rb(283B)
--------apollo_tracing_spec.rb(5KB)
--------fixtures()
----README.md(8KB)
----lib()
--------apollo_tracing.rb(3KB)
--------apollo()
--------apollo_tracing()
----Gemfile(99B)
----Rakefile(117B)