route.go ×3

Frontier kind: Joint frontier

unlabeled · c_2da22422ebb3

8 tests · 43 LOC · 1 file · introduces 2 tests · 10 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges10 lines · 1 files
Tests
2 tests

Contains — complete concept membership

All code (extent)
13 ranges43 lines · 1 file · Browse complete extent
All tests (intent)
8 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationnexus_operation_http_handler.go ×3 · 20 introduced LOCnexus_operation_http_han…nexus_operation_http_handler.go ×1 · 2 introduced LOCnexus_operation_http_han…nexus_operation_http_handler.go ×1 · 2 introduced LOCnexus_operation_http_han…nexus_operation_http_handler.go ×4 · 13 introduced LOCnexus_operation_http_han…server.go ×1 · 2 introduced LOCserver.go ×1nexus_operation_http_handler.go ×4 · 22 introduced LOCnexus_operation_http_han…routes.go ×2 · 2 introduced LOCroutes.go ×2routes.go ×1 · 1 introduced LOCroutes.go ×1ExampleRoute · 0 introduced LOCExampleRouteroute.go ×2 · 8 introduced LOCroute.go ×2route.go ×6 · 19 introduced LOCroute.go ×6route.go ×1 · 3 introduced LOCroute.go ×1route.go ×1 · 3 introduced LOCroute.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/nexus/nexusrpc/server.go · 404 LOCnexusrpc/server.gogo.temporal.io/server/common/nexus/routes.go · 35 LOCnexus/routes.gogo.temporal.io/server/common/routing/route.go · 149 LOCrouting/route.gogo.temporal.io/server/service/frontend/nexus_operation_http_handler.go · 319 LOCfrontend/nexus_operation…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…ExampleRouteDispatchNexusTaskByEndpoint · introduced test · go.temporal.io/server/common/nexus/ExampleRouteDispatchNexusTaskByEndpointExampleRouteDispatchNexu…ExampleRouteDispatchNexusTaskByNamespaceAndTaskQueue · introduced test · go.temporal.io/server/common/nexus/ExampleRouteDispatchNexusTaskByNamespaceAndTaskQueueExampleRouteDispatchNexu…ExampleRoute · introduced test · go.temporal.io/server/common/routing/ExampleRouteExampleRouteExampleRoute_Path · introduced test · go.temporal.io/server/common/routing/ExampleRoute_PathExampleRoute_PathGet · introduced test · go.temporal.io/server/common/routing/TestNewRoute/GetGetTestDispatchNexusTaskByEndpoint_NamespaceNotFound_Retryable · introduced test · go.temporal.io/server/service/frontend/TestDispatchNexusTaskByEndpoint_NamespaceNotFound_RetryableTestDispatchNexusTaskByE…TestDispatchNexusTaskByEndpoint_NotFound_NonRetryable · introduced test · go.temporal.io/server/service/frontend/TestDispatchNexusTaskByEndpoint_NotFound_NonRetryableTestDispatchNexusTaskByE…TestDispatchNexusTaskByEndpoint_NotFound_Retryable · introduced test · go.temporal.io/server/service/frontend/TestDispatchNexusTaskByEndpoint_NotFound_RetryableTestDispatchNexusTaskByE…Focused concept · route.go ×3 · 10 introduced LOCroute.go ×3

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

2 tests introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 10 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/routing/route.go 10 introduced LOC · 3 ranges

Open complete file

83 // Path returns the serialized path of the route with the given params. There will be no leading or trailing slashes,
84 // similar to the behavior of the [Route.Representation] method.
85 > func (r Route[T]) Path(t T) string { route.go
86 > return r.serialize(func(c Component[T]) string {
87 > return c.Serialize(t)
88 > })
89 }
90
121 }
122
123 > func (s constant[T]) Serialize(T) string { route.go
124 > return strings.Join(s, "/")
125 > }
126
127 func (s constant[T]) Deserialize(map[string]string, *T) {}
141 }
142
143 > func (s stringVariable[T]) Serialize(t T) string { route.go
144 > return url.PathEscape(*s.getter(&t))
145 > }
146
147 func (s stringVariable[T]) Deserialize(vars map[string]string, t *T) {