with Properties
fun <T, Any> PromptRunner.Creating<T>.withProperties(vararg properties: KProperty1<T, Any>): PromptRunner.Creating<T>
Includes the given properties when creating an object.
Note that each predicate is applied in addition to previously registered predicates, including ObjectCreator::withPropertyFilter, ObjectCreator::withProperties, ObjectCreator::withoutProperties, and withoutProperties.
Parameters
properties
the properties that are to be included