Update GraphQL endpoint to support sorting group variables
Fix graphql name and default sort value Update graphql documentation Fix finder naming and execution Add order tests Return none if no variables found Changelog: changed
显示
- app/finders/ci/group_variables_finder.rb 39 个添加, 0 个删除app/finders/ci/group_variables_finder.rb
- app/graphql/resolvers/ci/inherited_variables_resolver.rb 6 个添加, 2 个删除app/graphql/resolvers/ci/inherited_variables_resolver.rb
- app/graphql/types/ci/group_variables_sort_enum.rb 20 个添加, 0 个删除app/graphql/types/ci/group_variables_sort_enum.rb
- app/models/ci/group_variable.rb 15 个添加, 0 个删除app/models/ci/group_variable.rb
- doc/api/graphql/reference/index.md 27 个添加, 1 个删除doc/api/graphql/reference/index.md
- spec/finders/ci/group_variables_finder_spec.rb 73 个添加, 0 个删除spec/finders/ci/group_variables_finder_spec.rb
- spec/graphql/resolvers/ci/inherited_variables_resolver_spec.rb 48 个添加, 5 个删除...graphql/resolvers/ci/inherited_variables_resolver_spec.rb
- spec/models/ci/group_variable_spec.rb 43 个添加, 0 个删除spec/models/ci/group_variable_spec.rb
- spec/requests/api/graphql/ci/inherited_ci_variables_spec.rb 109 个添加, 38 个删除spec/requests/api/graphql/ci/inherited_ci_variables_spec.rb
加载中
想要评论请 注册 或 登录