Add scope argument with `all` option
This commit allows us to switch to the Global Catalog resources by omitting the `projectPath` argument. The scope argument will only have an `all` option for now, since Listing can't handle the `namespaces` option yet Changelog: changed
显示
- app/graphql/resolvers/ci/catalog/resources_resolver.rb 22 个添加, 12 个删除app/graphql/resolvers/ci/catalog/resources_resolver.rb
- app/graphql/types/ci/catalog/resource_scope_enum.rb 14 个添加, 0 个删除app/graphql/types/ci/catalog/resource_scope_enum.rb
- doc/api/graphql/reference/index.md 9 个添加, 0 个删除doc/api/graphql/reference/index.md
- spec/requests/api/graphql/ci/catalog/resources_spec.rb 162 个添加, 334 个删除spec/requests/api/graphql/ci/catalog/resources_spec.rb
加载中
想要评论请 注册 或 登录