allFieldPaths

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

Retrieves all property paths for a given KClass.

Return

A list of all property paths.

Parameters

parentName

The name of the parent property (used for nested properties).

fields

A list of initial properties to include in the result.