MCPcopy
hub / github.com/apache/devlake / CustomMerge

Interface CustomMerge

backend/helpers/pluginhelper/api/model_api_helper.go:132–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132type CustomMerge[M dal.Tabler] interface {
133 MergeFromRequest(target *M, body map[string]interface{}) error
134}
135
136// PatchModel will get an "M" from database and try to merge update from request body
137// zeroFields decides whether "M" will be zeroed if "M" doesn't implement CustomMerge.

Callers 7

PatchModelMethod · 0.65
PatchConnectionFunction · 0.65
PatchConnectionFunction · 0.65
PatchConnectionFunction · 0.65
PatchConnectionFunction · 0.65
PatchConnectionFunction · 0.65
PatchConnectionFunction · 0.65

Implementers 15

TapdConnectionbackend/plugins/tapd/models/connection
TaigaConnectionbackend/plugins/taiga/models/connectio
TestmoConnectionbackend/plugins/testmo/models/connecti
PagerDutyConnectionbackend/plugins/pagerduty/models/conne
GiteeConnectionbackend/plugins/gitee/models/connectio
SonarqubeConnectionbackend/plugins/sonarqube/models/conne
AsanaConnectionbackend/plugins/asana/models/connectio
AeConnectionbackend/plugins/ae/models/connection.g
GhCopilotConnectionbackend/plugins/gh-copilot/models/conn
FeishuConnectionbackend/plugins/feishu/models/connecti
OpsgenieConnectionbackend/plugins/opsgenie/models/connec
JenkinsConnectionbackend/plugins/jenkins/models/connect

Calls

no outgoing calls

Tested by

no test coverage detected