custom

fun custom(rootType: TypeId, name: String): PathId

An explicitly named KeyPath segment for a manual or computed KeyPath.

Use a stable, library-qualified name when KeyPaths may need to compare equal across call sites. A custom KeyPath deliberately remains distinct from a stored property of the same spelling.