From 81f5c3e0af9aa4b81662e0781289189703324986 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 3 Feb 2020 21:03:48 +0100 Subject: graphql: use the cache in priority for fast browsing at < 20ms instead of seconds --- bug/op_set_metadata.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bug/op_set_metadata.go') diff --git a/bug/op_set_metadata.go b/bug/op_set_metadata.go index 67f7e009..23d11461 100644 --- a/bug/op_set_metadata.go +++ b/bug/op_set_metadata.go @@ -17,6 +17,9 @@ type SetMetadataOperation struct { NewMetadata map[string]string `json:"new_metadata"` } +// Sign-post method for gqlgen +func (op *SetMetadataOperation) IsOperation() {} + func (op *SetMetadataOperation) base() *OpBase { return &op.OpBase } -- cgit