Skip to content

CE backport for gitlab-org/gitlab-ee!15433 (Expose DesignType#notes_count in GraphQL)

Luke Duncalfe requested to merge 13353-DesignType-notes_count-ce into master

What does this MR do?

This is the CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15433.

Issue https://gitlab.com/gitlab-org/gitlab-ee/issues/13353.

  • New after_commit callbacks have been added to Note to call #after_note_created and #after_note_destroyed on their noteable, so the noteable can perform tasks particular to them, like cache expiry.
  • Refactors into a shared example some spec behaviour tests of a counter caching service

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by Luke Duncalfe

Merge request reports

Loading