Detailed changes
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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)
}
@@ -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 {