How apply extraOptions on contain tables? cake 4.5

How apply extraOptions on contain tables ?
only the main table has the extraOptions ‘withColumnTypes’ => true, in query Object.

need it for beforeFind(); ArrayObject $options

my code

$invoice = $this->Invoices->get($id, [
			'contain' => [
				'Dataimports' => ['withColumnTypes' => true],
				'Statuses',
				'InvoiceCredits',
				'InvoiceCredits'=>'Statuses',
				'Dataimports'=>'Reportimports',
			],
			'withColumnTypes' => true
		]);
'contain' => [
    'Dataimports' => ['queryBuilder' => function(Query $q) {
        return $q->applyOptions(['withColumnTypes' => true]);
    }],
    ...

Thanks a lot :smiley:
works