Add mutation toggling WIP state of merge requests
This is mainly the setup of mutations for GraphQL. Including authorization and basic return type-structure.
显示
- app/graphql/gitlab_schema.rb 1 个添加, 1 个删除app/graphql/gitlab_schema.rb
- app/graphql/mutations/base_mutation.rb 13 个添加, 0 个删除app/graphql/mutations/base_mutation.rb
- app/graphql/mutations/concerns/mutations/resolves_project.rb 13 个添加, 0 个删除app/graphql/mutations/concerns/mutations/resolves_project.rb
- app/graphql/mutations/merge_requests/base.rb 32 个添加, 0 个删除app/graphql/mutations/merge_requests/base.rb
- app/graphql/mutations/merge_requests/set_wip.rb 35 个添加, 0 个删除app/graphql/mutations/merge_requests/set_wip.rb
- app/graphql/types/mutation_type.rb 5 个添加, 1 个删除app/graphql/types/mutation_type.rb
- changelogs/unreleased/bvl-graphql-wip-mutation.yml 5 个添加, 0 个删除changelogs/unreleased/bvl-graphql-wip-mutation.yml
- config/application.rb 2 个添加, 1 个删除config/application.rb
- doc/development/api_graphql_styleguide.md 174 个添加, 0 个删除doc/development/api_graphql_styleguide.md
- lib/gitlab/graphql/authorize.rb 8 个添加, 1 个删除lib/gitlab/graphql/authorize.rb
- lib/gitlab/graphql/authorize/authorize_resource.rb 46 个添加, 0 个删除lib/gitlab/graphql/authorize/authorize_resource.rb
- lib/gitlab/graphql/errors.rb 1 个添加, 0 个删除lib/gitlab/graphql/errors.rb
- lib/gitlab/graphql/mount_mutation.rb 18 个添加, 0 个删除lib/gitlab/graphql/mount_mutation.rb
- spec/graphql/gitlab_schema_spec.rb 0 个添加, 2 个删除spec/graphql/gitlab_schema_spec.rb
- spec/graphql/mutations/concerns/mutations/resolves_project_spec.rb 19 个添加, 0 个删除...hql/mutations/concerns/mutations/resolves_project_spec.rb
- spec/graphql/mutations/merge_requests/set_wip_spec.rb 51 个添加, 0 个删除spec/graphql/mutations/merge_requests/set_wip_spec.rb
- spec/graphql/types/mutation_type_spec.rb 9 个添加, 0 个删除spec/graphql/types/mutation_type_spec.rb
- spec/lib/gitlab/graphql/authorize/authorize_resource_spec.rb 103 个添加, 0 个删除spec/lib/gitlab/graphql/authorize/authorize_resource_spec.rb
- spec/lib/gitlab/graphql/authorize_spec.rb 20 个添加, 0 个删除spec/lib/gitlab/graphql/authorize_spec.rb
- spec/requests/api/graphql/mutations/merge_requests/set_wip_spec.rb 68 个添加, 0 个删除...ests/api/graphql/mutations/merge_requests/set_wip_spec.rb
app/graphql/mutations/base_mutation.rb
0 → 100644
app/graphql/mutations/merge_requests/base.rb
0 → 100644
lib/gitlab/graphql/mount_mutation.rb
0 → 100644
spec/graphql/types/mutation_type_spec.rb
0 → 100644
spec/lib/gitlab/graphql/authorize_spec.rb
0 → 100644
想要评论请 注册 或 登录