Class

PathProxyEngine

PathProxyEngine()

Standard path resolution utility for accessing nested object properties. Provides consistent dot-notation access to both parent and child properties across complex object structures.

  • Dot-notation path resolution ('object.child.property')
  • Parent traversal using '../' notation
  • Configurable property access behavior
  • Null/undefined safety checks
Constructor

# new PathProxyEngine()

View Source utils/PathProxy.ts, line 22

Methods

# static create(rootTarget, opts)

Creates a path-aware proxy for the target object

.

Creates a path-aware proxy for the target object

Parameters:
Name Type Description
rootTarget T

The target object to proxy

opts

Configuration options

getValue

Custom function to get property value

getParent

Custom function to get parent object

ignoreUndefined

Whether to ignore undefined values in paths

ignoreNull

Whether to ignore null values in paths

View Source utils/PathProxy.ts, line 114

A proxy object with path access capabilities

# static parsePath(path)

Parses a path string into individual components

.

Parses a path string into individual components

Parameters:
Name Type Description
path

The path string to parse (e.g., "user.address.city")

View Source utils/PathProxy.ts, line 84

Error if the path is invalid

An array of path components