SelfReferencingObject

constructor(parent: ObjectField<*>?, name: String, nested: Boolean = false, fieldType: KType)

Parameters

parent

The parent object field in the hierarchy

name

The Elasticsearch field name

nested

Whether this field is marked as nested in Elasticsearch

fieldType

The Kotlin type information for runtime type safety

Type Parameters

T

The type of the self-referencing field