-
- Downloads
There was an error fetching the commit references. Please try again later.
Add Issue.relatedMergeRequests to GraphQL API
As related MRs are currently parsed every time from the issue description and its notes, the computation is expensive. To prevent performance problems with queries that return up to 100 issues, the resolver is limited to 1 execution per query. Changelog: added
Showing
- app/graphql/types/issue_type.rb 18 additions, 0 deletionsapp/graphql/types/issue_type.rb
- doc/api/graphql/reference/index.md 2 additions, 0 deletionsdoc/api/graphql/reference/index.md
- spec/requests/api/graphql/issue/issue_spec.rb 41 additions, 0 deletionsspec/requests/api/graphql/issue/issue_spec.rb
- spec/requests/api/graphql/project/alert_management/alerts_spec.rb 1 addition, 1 deletion...uests/api/graphql/project/alert_management/alerts_spec.rb
- spec/support/shared_examples/requests/api/graphql/issue_list_shared_examples.rb 23 additions, 1 deletion...amples/requests/api/graphql/issue_list_shared_examples.rb
Please register or sign in to comment