graphql-errors:GraphQL Ruby的简单错误处理程序

时间:2021-02-04 03:01:24
【文件属性】:
文件名称:graphql-errors:GraphQL Ruby的简单错误处理程序
文件大小:14KB
文件格式:ZIP
更新时间:2021-02-04 03:01:24
ruby graphql error-handling error graphql-ruby graphql错误 :warning: 不推荐使用该gem,而建议使用graphql gem中的新GraphQL::Execution::Errors 。 查看更多详细信息 。 这个gem为提供了简单的错误处理。 强调 每个字段的错误处理。 与Rails类似, rescue_from块中的逻辑。 由祖先捕获异常,例如CustomError和rescue_from StandardError 。 每个架构配置。 没有依赖关系。 用法 定义GraphQL模式后: Schema = GraphQL :: Schema . define do query QueryType end 您可以使用G
【文件预览】:
graphql-errors-master
----.gitignore(127B)
----README.md(4KB)
----graphql-errors.gemspec(1KB)
----CHANGELOG.md(1KB)
----bin()
--------console(349B)
--------setup(131B)
----graphql-1.7.gemfile(123B)
----Gemfile(166B)
----.ruby-version(6B)
----.rspec(31B)
----CODE_OF_CONDUCT.md(3KB)
----spec()
--------fixtures()
--------graphql()
--------spec_helper.rb(681B)
----.tool-versions(11B)
----LICENSE.txt(1KB)
----graphql-1.8.gemfile(122B)
----.travis.yml(272B)
----lib()
--------graphql()
----Rakefile(117B)

网友评论