PathsName

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class PathsName(val value: String)

Names a generated path namespace.

Apply this to a direct sealed case with generated property paths to change its nested property-path catalog without changing its whole-case CaseName member or path identity. Apply it to a companion object to rename the generated root facade, such as Person.KPaths instead of Person.Paths.

Properties

Link copied to clipboard