Skip to content
代码片段 群组 项目
提交 76171c5f 编辑于 作者: Brett Walker's avatar Brett Walker
浏览文件

Move to the new GraphQL interpreter

- Update to graphql 1.13.12
- Create the new AST LoggerAnalyzer ported from the original LoggerAnalyzer
- Create the new AST RecursionAnalyzer ported from the original RecursionAnalyzer
- Override unauthorized_object(unauthorized_error)
- Fix arg handlling in GraphQL::Helpers
- Now some exceptions are being caught much earlier,
  breaking many unit test specs that relied on checking
  for exceptions
- Must override == in the class itself
- GraphQL-Ruby's types used to override def ==(other),
  but it doesn't anymore when using the interpreter
- Procs are no longer supported
- GraphQL::Pagination::Connections is now a default and
  is no longer needed
- Check for object in FindClosest
- Casues a GraphQL::Schema::DuplicateNamesError
- Add new expect_graphql_error_to_be_created
- Adjust how args are built for testing
- Removal of to_graphql
- Fix signature of get_type
- Override new complexity calculation to use our own
- When using `resolve` in GraphqlHelpers, the arguments
must be passed in a certain way. For this transition, we can
indicate how we want the arguments handled.
- BaseInputObject must return super from `prepare`
This has the correct effect of the entire input object being
passed through to the resolver in `args`.  Inside there
you need to call `to_h` to extract the ruby arguments.
- Remove prepare from NegatedBoardIssueInputType
- Return nil if TimeType is nil
Let higher level argument checks do their job.
Fixes spec/requests/api/graphql/mutations/releases/update_spec.rb
- DEBUG_GRAPHQL=1 now ignores graphql tracers
and sets the timeout to 20 mins, to facilitate
debugging
- Remove use of metadata[:type_class]
上级 3abf3aa8
No related branches found
No related tags found
加载中
显示
95 个添加70 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册