From 2a5fbc4dc988d2eea76fe5e844ccf6425f9386ee Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sun, 31 Mar 2019 22:32:35 +0200 Subject: Expose actors and participants in snapshot and bug excerpt Append operations authors to each list on Apply() call Expose actors and participants in graphql Add actor/participant query filter and documentation --- bug/op_add_comment.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bug/op_add_comment.go') diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go index c1e0838b..8cde20e8 100644 --- a/bug/op_add_comment.go +++ b/bug/op_add_comment.go @@ -29,6 +29,9 @@ func (op *AddCommentOperation) Hash() (git.Hash, error) { } func (op *AddCommentOperation) Apply(snapshot *Snapshot) { + snapshot.addActor(op.Author) + snapshot.addParticipant(op.Author) + hash, err := op.Hash() if err != nil { // Should never error unless a programming error happened -- cgit