Add GraphQL fields for Catalog resources
This commit adds `Ci::Catalog::ResourceType` and a `ciCatalogResources` field to `QueryType`. All fields are `alpha` because CI Catalog features are subject to rapid iteration.
显示
- app/graphql/types/ci/catalog/resource_type.rb 27 个添加, 0 个删除app/graphql/types/ci/catalog/resource_type.rb
- app/models/ci/catalog/resource.rb 2 个添加, 0 个删除app/models/ci/catalog/resource.rb
- doc/api/graphql/reference/index.md 55 个添加, 0 个删除doc/api/graphql/reference/index.md
- ee/app/graphql/ee/types/query_type.rb 7 个添加, 0 个删除ee/app/graphql/ee/types/query_type.rb
- ee/app/graphql/resolvers/ci/catalog/resources_resolver.rb 32 个添加, 0 个删除ee/app/graphql/resolvers/ci/catalog/resources_resolver.rb
- ee/spec/graphql/resolvers/ci/catalog/resources_resolver_spec.rb 47 个添加, 0 个删除...c/graphql/resolvers/ci/catalog/resources_resolver_spec.rb
- ee/spec/graphql/types/query_type_spec.rb 1 个添加, 0 个删除ee/spec/graphql/types/query_type_spec.rb
- ee/spec/requests/api/graphql/ci/catalog/resources_spec.rb 82 个添加, 0 个删除ee/spec/requests/api/graphql/ci/catalog/resources_spec.rb
- spec/graphql/types/ci/catalog/resource_type_spec.rb 18 个添加, 0 个删除spec/graphql/types/ci/catalog/resource_type_spec.rb
- spec/models/ci/catalog/resource_spec.rb 6 个添加, 0 个删除spec/models/ci/catalog/resource_spec.rb
加载中
想要评论请 注册 或 登录