entity: no sign-post needed

Michael Muré created

Change summary

bug/op_add_comment.go  | 3 ---
bug/op_create.go       | 3 ---
bug/op_edit_comment.go | 3 ---
bug/op_label_change.go | 3 ---
bug/op_noop.go         | 3 ---
bug/op_set_metadata.go | 3 ---
bug/op_set_status.go   | 3 ---
bug/op_set_title.go    | 3 ---
bug/operation.go       | 3 ---
9 files changed, 27 deletions(-)

Detailed changes

bug/op_add_comment.go 🔗

@@ -21,9 +21,6 @@ type AddCommentOperation struct {
 	Files []repository.Hash `json:"files"`
 }
 
-// Sign-post method for gqlgen
-func (op *AddCommentOperation) IsOperation() {}
-
 func (op *AddCommentOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_create.go 🔗

@@ -27,9 +27,6 @@ type CreateOperation struct {
 	Files   []repository.Hash `json:"files"`
 }
 
-// Sign-post method for gqlgen
-func (op *CreateOperation) IsOperation() {}
-
 func (op *CreateOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_edit_comment.go 🔗

@@ -24,9 +24,6 @@ type EditCommentOperation struct {
 	Files   []repository.Hash `json:"files"`
 }
 
-// Sign-post method for gqlgen
-func (op *EditCommentOperation) IsOperation() {}
-
 func (op *EditCommentOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_label_change.go 🔗

@@ -21,9 +21,6 @@ type LabelChangeOperation struct {
 	Removed []Label `json:"removed"`
 }
 
-// Sign-post method for gqlgen
-func (op *LabelChangeOperation) IsOperation() {}
-
 func (op *LabelChangeOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_noop.go 🔗

@@ -16,9 +16,6 @@ type NoOpOperation struct {
 	OpBase
 }
 
-// Sign-post method for gqlgen
-func (op *NoOpOperation) IsOperation() {}
-
 func (op *NoOpOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_set_metadata.go 🔗

@@ -17,9 +17,6 @@ type SetMetadataOperation struct {
 	NewMetadata map[string]string `json:"new_metadata"`
 }
 
-// Sign-post method for gqlgen
-func (op *SetMetadataOperation) IsOperation() {}
-
 func (op *SetMetadataOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_set_status.go 🔗

@@ -18,9 +18,6 @@ type SetStatusOperation struct {
 	Status Status `json:"status"`
 }
 
-// Sign-post method for gqlgen
-func (op *SetStatusOperation) IsOperation() {}
-
 func (op *SetStatusOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/op_set_title.go 🔗

@@ -21,9 +21,6 @@ type SetTitleOperation struct {
 	Was   string `json:"was"`
 }
 
-// Sign-post method for gqlgen
-func (op *SetTitleOperation) IsOperation() {}
-
 func (op *SetTitleOperation) Id() entity.Id {
 	return idOperation(op, &op.OpBase)
 }

bug/operation.go 🔗

@@ -49,9 +49,6 @@ type Operation interface {
 	AllMetadata() map[string]string
 
 	setExtraMetadataImmutable(key string, value string)
-
-	// sign-post method for gqlgen
-	IsOperation()
 }
 
 func idOperation(op Operation, base *OpBase) entity.Id {