Expose `squash_on_merge` field in merge request REST API
This commit exposes a new field `squash_on_merge` to Merge Request Rest API. It also adjusts GraphQL documentation to clarify the distinction between `squash` and `squash_on_merge` fields. Changelog: added
Showing
- .rubocop_todo/rspec/context_wording.yml 0 additions, 1 deletion.rubocop_todo/rspec/context_wording.yml
- app/graphql/types/merge_request_type.rb 2 additions, 2 deletionsapp/graphql/types/merge_request_type.rb
- doc/api/graphql/reference/index.md 2 additions, 2 deletionsdoc/api/graphql/reference/index.md
- doc/api/merge_requests.md 4 additions, 2 deletionsdoc/api/merge_requests.md
- lib/api/entities/merge_request_basic.rb 1 addition, 0 deletionslib/api/entities/merge_request_basic.rb
- spec/lib/api/entities/merge_request_basic_spec.rb 24 additions, 4 deletionsspec/lib/api/entities/merge_request_basic_spec.rb
Please register or sign in to comment