// supporting Link_WorkflowEvent and Link_Activity variants. Unsupported or malformed entries
// are skipped with a warning since links are non-essential to execution.
func ConvertNexusLinksToProtoLinks(nexusLinks []nexus.Link, logger log.Logger) []*commonpb.Link {
links.go
var out []*commonpb.Link
for _, nexusLink := range nexusLinks {
switch nexusLink.Type {
case string((&commonpb.Link_WorkflowEvent{}).ProtoReflect().Descriptor().FullName()):