MCPcopy Create free account
hub / github.com/codemix/graph / resolveProperties

Function resolveProperties

packages/graph/src/Steps.ts:485–495  ·  view source on GitHub ↗

* Resolve all property values in a properties map, replacing parameter references * with their actual values from the current query parameters.

(
    properties: Record<string, unknown>,
    context?: QueryContext,
    path?: TraversalPath<any, any, any>,
  )

Source from the content-addressed store, hash-verified

483 * with their actual values from the current query parameters.
484 */
485 protected resolveProperties(
486 properties: Record<string, unknown>,
487 context?: QueryContext,
488 path?: TraversalPath<any, any, any>,
489 ): Record<string, unknown> {
490 const resolved: Record<string, unknown> = {};
491 for (const [key, value] of Object.entries(properties)) {
492 resolved[key] = this.resolvePropertyValue(value, context, path);
493 }
494 return resolved;
495 }
496}
497
498export abstract class ContainerStep<

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected