-
- Downloads
Allow querying a single MR within a project
This allows the user to get a single MR nested in a GraphQL project query. Since we need the full path and the iid anyway, this makes more sense than having a root query that needs the full path as well.
parent
d85929d7
No related branches found
No related tags found
Showing
- app/graphql/resolvers/merge_request_resolver.rb 5 additions, 6 deletionsapp/graphql/resolvers/merge_request_resolver.rb
- app/graphql/types/project_type.rb 7 additions, 0 deletionsapp/graphql/types/project_type.rb
- app/graphql/types/query_type.rb 0 additions, 7 deletionsapp/graphql/types/query_type.rb
- changelogs/unreleased/bvl-graphql-nested-merge-request.yml 5 additions, 0 deletionschangelogs/unreleased/bvl-graphql-nested-merge-request.yml
- doc/api/graphql/index.md 1 addition, 3 deletionsdoc/api/graphql/index.md
- spec/graphql/resolvers/merge_request_resolver_spec.rb 5 additions, 18 deletionsspec/graphql/resolvers/merge_request_resolver_spec.rb
- spec/graphql/types/project_type_spec.rb 9 additions, 0 deletionsspec/graphql/types/project_type_spec.rb
- spec/graphql/types/query_type_spec.rb 1 addition, 15 deletionsspec/graphql/types/query_type_spec.rb
- spec/requests/api/graphql/merge_request_query_spec.rb 0 additions, 49 deletionsspec/requests/api/graphql/merge_request_query_spec.rb
- spec/requests/api/graphql/project_query_spec.rb 56 additions, 7 deletionsspec/requests/api/graphql/project_query_spec.rb
- spec/support/helpers/graphql_helpers.rb 12 additions, 3 deletionsspec/support/helpers/graphql_helpers.rb
- spec/support/matchers/graphql_matchers.rb 6 additions, 0 deletionsspec/support/matchers/graphql_matchers.rb
Please register or sign in to comment