Pathable

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Pathable(val name: String = "")

Marks a Kotlin type for generated KeyPaths and CaseKeyPaths.

The generator derives KeyPaths from accessible properties and CaseKeyPaths from sealed or enum variants. A sealed type with shared properties can receive both kinds. Supply name to choose a generated KeyPath and CaseKeyPath namespace instead of the default TypeNamePaths.

Properties

Link copied to clipboard