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:
- 'app/graphql/resolvers/error_tracking/sentry_error_stack_trace_resolver.rb'
- 'app/graphql/resolvers/merge_requests_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'
Rails/SaveBang:
......
......@@ -3,6 +3,8 @@
module Resolvers
module Geo
class MergeRequestDiffRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver
end
end
......
......@@ -3,6 +3,8 @@
module Resolvers
module Geo
class PackageFileRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver
end
end
......
......@@ -3,6 +3,8 @@
module Resolvers
module Geo
class TerraformStateVersionRegistriesResolver < BaseResolver
type ::Types::Geo::GeoNodeType.connection_type, null: true
include RegistriesResolver
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