Commit 17f84ad4 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Merge branch 'alexives/281697/update_geo_node_graphql_connection_types' into 'master'

Add resolver types to registry resolvers

See merge request gitlab-org/gitlab!47584
parents eef5bd45 6cd6c54c
...@@ -39,9 +39,6 @@ Graphql/ResolverType: ...@@ -39,9 +39,6 @@ Graphql/ResolverType:
- 'app/graphql/resolvers/ci/pipeline_stages_resolver.rb' - 'app/graphql/resolvers/ci/pipeline_stages_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