Remove unneeded :expected_type overrides
This use of an :expected_type check is no longer required so these mutations do not need to override the base class implementation of `find_object`. The `:expected_type` checks date back to when ids were all represented by a single generic `ID` type. This has been replaced with specific types of the form `GlobalIdType[::Project]`, `GlobalIdType[::Issue]`, etc. These specific types handle the type checking when the GID object is parsed. When an argument is defined as `GlobalIdType[::Project]` passing a GID like `gid://gitlab/Issue/1` will fail before the `:expected_type` check is ever performed. See https://gitlab.com/gitlab-org/gitlab/-/issues/257883 for more context.
显示
- app/graphql/mutations/achievements/award.rb 0 个添加, 4 个删除app/graphql/mutations/achievements/award.rb
- app/graphql/mutations/achievements/create.rb 0 个添加, 4 个删除app/graphql/mutations/achievements/create.rb
- app/graphql/mutations/achievements/delete.rb 0 个添加, 4 个删除app/graphql/mutations/achievements/delete.rb
- app/graphql/mutations/achievements/delete_user_achievement.rb 0 个添加, 4 个删除...graphql/mutations/achievements/delete_user_achievement.rb
- app/graphql/mutations/achievements/revoke.rb 0 个添加, 4 个删除app/graphql/mutations/achievements/revoke.rb
- app/graphql/mutations/achievements/update.rb 0 个添加, 4 个删除app/graphql/mutations/achievements/update.rb
- app/graphql/mutations/alert_management/http_integration/http_integration_base.rb 0 个添加, 4 个删除...lert_management/http_integration/http_integration_base.rb
- app/graphql/mutations/alert_management/prometheus_integration/prometheus_integration_base.rb 0 个添加, 4 个删除...ent/prometheus_integration/prometheus_integration_base.rb
- app/graphql/mutations/boards/destroy.rb 0 个添加, 6 个删除app/graphql/mutations/boards/destroy.rb
- app/graphql/mutations/boards/lists/create.rb 0 个添加, 4 个删除app/graphql/mutations/boards/lists/create.rb
- app/graphql/mutations/custom_emoji/destroy.rb 0 个添加, 6 个删除app/graphql/mutations/custom_emoji/destroy.rb
- app/graphql/mutations/customer_relations/contacts/create.rb 0 个添加, 4 个删除app/graphql/mutations/customer_relations/contacts/create.rb
- app/graphql/mutations/customer_relations/organizations/create.rb 0 个添加, 4 个删除...phql/mutations/customer_relations/organizations/create.rb
- app/graphql/mutations/saved_replies/base.rb 0 个添加, 4 个删除app/graphql/mutations/saved_replies/base.rb
- app/graphql/mutations/saved_replies/destroy.rb 1 个添加, 1 个删除app/graphql/mutations/saved_replies/destroy.rb
- app/graphql/mutations/saved_replies/update.rb 1 个添加, 1 个删除app/graphql/mutations/saved_replies/update.rb
- app/graphql/mutations/snippets/base.rb 0 个添加, 4 个删除app/graphql/mutations/snippets/base.rb
- app/graphql/mutations/work_items/convert.rb 0 个添加, 4 个删除app/graphql/mutations/work_items/convert.rb
- ee/app/graphql/mutations/audit_events/amazon_s3_configurations/base.rb 0 个添加, 4 个删除...l/mutations/audit_events/amazon_s3_configurations/base.rb
- ee/app/graphql/mutations/audit_events/amazon_s3_configurations/delete.rb 1 个添加, 1 个删除...mutations/audit_events/amazon_s3_configurations/delete.rb
加载中
想要评论请 注册 或 登录