Commit 6cd6c54c authored by Alex Ives's avatar Alex Ives

Add resolver types to registry resolvers

Relates to https://gitlab.com/gitlab-org/gitlab/issues/281697
parent 3e4c5ee1
...@@ -47,9 +47,6 @@ Graphql/ResolverType: ...@@ -47,9 +47,6 @@ Graphql/ResolverType:
- 'app/graphql/resolvers/error_tracking/sentry_error_stack_trace_resolver.rb' - 'app/graphql/resolvers/error_tracking/sentry_error_stack_trace_resolver.rb'
- 'app/graphql/resolvers/merge_requests_resolver.rb' - 'app/graphql/resolvers/merge_requests_resolver.rb'
- 'app/graphql/resolvers/users/group_count_resolver.rb' - 'app/graphql/resolvers/users/group_count_resolver.rb'
- 'ee/app/graphql/resolvers/geo/merge_request_diff_registries_resolver.rb'
- 'ee/app/graphql/resolvers/geo/package_file_registries_resolver.rb'
- 'ee/app/graphql/resolvers/geo/terraform_state_version_registries_resolver.rb'
- 'ee/app/graphql/resolvers/vulnerabilities_base_resolver.rb' - 'ee/app/graphql/resolvers/vulnerabilities_base_resolver.rb'
Rails/SaveBang: Rails/SaveBang:
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
module Resolvers module Resolvers
module Geo module Geo
class MergeRequestDiffRegistriesResolver < BaseResolver class MergeRequestDiffRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver include RegistriesResolver
end end
end end
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
module Resolvers module Resolvers
module Geo module Geo
class PackageFileRegistriesResolver < BaseResolver class PackageFileRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver include RegistriesResolver
end end
end end
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
module Resolvers module Resolvers
module Geo module Geo
class TerraformStateVersionRegistriesResolver < BaseResolver class TerraformStateVersionRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver include RegistriesResolver
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment