TypeFieldPaths

Utility object to handle state field paths.

Properties

Link copied to clipboard

Delimiter used to join property names in the path.

Link copied to clipboard
const val MAX_DEPTH: Int = 5

Functions

Link copied to clipboard
fun KClass<*>.allFieldPaths(parentName: String = "", fields: List<String> = emptyList(), maxDepth: Int = MAX_DEPTH): Set<String>

Retrieves all property paths for a given KClass.