diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-03 21:03:48 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-09 02:18:44 +0100 |
commit | 81f5c3e0af9aa4b81662e0781289189703324986 (patch) | |
tree | be229ccfb135445bf5355b1e8506d870af5f472b /bug/op_label_change.go | |
parent | 9e1a987b4d94dc5c2115423ede5954d4faf1d342 (diff) | |
download | git-bug-81f5c3e0af9aa4b81662e0781289189703324986.tar.gz |
graphql: use the cache in priority for fast browsing at < 20ms instead of seconds
Diffstat (limited to 'bug/op_label_change.go')
-rw-r--r-- | bug/op_label_change.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/op_label_change.go b/bug/op_label_change.go index c911de26..fefe2402 100644 --- a/bug/op_label_change.go +++ b/bug/op_label_change.go @@ -21,6 +21,9 @@ type LabelChangeOperation struct { Removed []Label `json:"removed"` } +// Sign-post method for gqlgen +func (op *LabelChangeOperation) IsOperation() {} + func (op *LabelChangeOperation) base() *OpBase { return &op.OpBase } |