Skip to content

Commit 1b6220d

Browse files
authoredAug 30, 2024··
Mark Nexus link converter functions as experimental (#1615)
1 parent f47e644 commit 1b6220d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎temporalnexus/link_converter.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const (
4343
urlPathWorkflowIDKey = "workflowID"
4444
urlPathRunIDKey = "runID"
4545
urlPathTemplate = "/namespaces/%s/workflows/%s/%s/history"
46-
urlTemplate = "temporal://" + urlPathTemplate
4746

4847
linkWorkflowEventReferenceTypeKey = "referenceType"
4948
linkEventReferenceEventIDKey = "eventID"
@@ -63,6 +62,8 @@ var (
6362
)
6463

6564
// ConvertLinkWorkflowEventToNexusLink converts a Link_WorkflowEvent type to Nexus Link.
65+
//
66+
// NOTE: Experimental
6667
func ConvertLinkWorkflowEventToNexusLink(we *commonpb.Link_WorkflowEvent) nexus.Link {
6768
u := &url.URL{
6869
Scheme: urlSchemeTemporalKey,
@@ -86,6 +87,8 @@ func ConvertLinkWorkflowEventToNexusLink(we *commonpb.Link_WorkflowEvent) nexus.
8687
}
8788

8889
// ConvertNexusLinkToLinkWorkflowEvent converts a Nexus Link to Link_WorkflowEvent.
90+
//
91+
// NOTE: Experimental
8992
func ConvertNexusLinkToLinkWorkflowEvent(link nexus.Link) (*commonpb.Link_WorkflowEvent, error) {
9093
we := &commonpb.Link_WorkflowEvent{}
9194
if link.Type != string(we.ProtoReflect().Descriptor().FullName()) {

0 commit comments

Comments
 (0)
Please sign in to comment.