Skip to content

resolveTokenPath

Open in ChatGPTOpen in Claude

resolveTokenPath(registry, tokenPath): string

Defined in: packages/core/src/registry/token-resolver.ts:42

Resolve a single token path against the registry.

Algorithm: try progressively shorter resource key prefixes until a match is found. E.g. for “dynamodb.urlTable.tableName”:

  1. Try resource key “dynamodb.urlTable.tableName” → not found
  2. Try resource key “dynamodb.urlTable” → found! attr path = “tableName”

ResourceRegistry

string

string

© 2026 Axis Tech. Powered by axis-tech.co.