invoke
inline operator fun <Value> KProperty1<Root, Value>.invoke(noinline configure: FakeSpec<Value>.() -> Unit): GenerationSpec<Value>
Applies nested per-call configuration to this property.
operator fun <Value> PropertyPath<Root, Value>.invoke(configure: FakeSpec<Value>.() -> Unit): GenerationSpec<Value>
Applies nested per-call configuration to this property path.
operator fun <Value> KProperty1<Root, Value>.invoke(configure: FakeSpec<Value>.() -> Unit, value: KType): GenerationSpec<Value>
Deprecated (with error)
Use the reified property invoke overload.
Applies nested per-call configuration to this property.
This low-level overload is intended for callers that already carry a KType. The caller must keep value and the generator value type consistent.