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]
显示
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 2 个添加, 2 个删除Gemfile.lock
- app/graphql/gitlab_schema.rb 20 个添加, 25 个删除app/graphql/gitlab_schema.rb
- app/graphql/mutations/base_mutation.rb 10 个添加, 8 个删除app/graphql/mutations/base_mutation.rb
- app/graphql/types/base_field.rb 24 个添加, 0 个删除app/graphql/types/base_field.rb
- app/graphql/types/ci/detailed_status_type.rb 1 个添加, 1 个删除app/graphql/types/ci/detailed_status_type.rb
- app/graphql/types/ci/runner_web_url_edge.rb 1 个添加, 1 个删除app/graphql/types/ci/runner_web_url_edge.rb
- app/graphql/types/ci/status_action_type.rb 1 个添加, 1 个删除app/graphql/types/ci/status_action_type.rb
- app/graphql/types/concerns/find_closest.rb 2 个添加, 3 个删除app/graphql/types/concerns/find_closest.rb
- app/graphql/types/global_id_type.rb 2 个添加, 1 个删除app/graphql/types/global_id_type.rb
- app/graphql/types/merge_requests/interacts_with_merge_request.rb 1 个添加, 1 个删除...phql/types/merge_requests/interacts_with_merge_request.rb
- app/graphql/types/query_complexity_type.rb 2 个添加, 2 个删除app/graphql/types/query_complexity_type.rb
- app/graphql/types/time_type.rb 2 个添加, 0 个删除app/graphql/types/time_type.rb
- ee/app/presenters/iteration_presenter.rb 9 个添加, 2 个删除ee/app/presenters/iteration_presenter.rb
- ee/spec/graphql/resolvers/compliance_management/merge_requests/compliance_violation_resolver_spec.rb 1 个添加, 1 个删除...ment/merge_requests/compliance_violation_resolver_spec.rb
- ee/spec/graphql/resolvers/incident_management/escalation_policies_resolver_spec.rb 1 个添加, 1 个删除.../incident_management/escalation_policies_resolver_spec.rb
- ee/spec/graphql/resolvers/incident_management/oncall_rotations_resolver_spec.rb 1 个添加, 1 个删除...ers/incident_management/oncall_rotations_resolver_spec.rb
- ee/spec/graphql/resolvers/iterations_resolver_spec.rb 11 个添加, 12 个删除ee/spec/graphql/resolvers/iterations_resolver_spec.rb
- ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb 1 个添加, 1 个删除ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
- ee/spec/requests/api/graphql/mutations/incident_management/oncall_rotation/create_spec.rb 2 个添加, 6 个删除...ations/incident_management/oncall_rotation/create_spec.rb
加载中
想要评论请 注册 或 登录