Opt-in to use native types with reusing existing Neo4j driver instance

I try to use the Micronaut Neo4j integration, which provides a org.neo4j.driver.v1.Driver bean, in combination with the Neo4j-OGM native property types.

Currently I use the following sessionFactory bean

@Requires(classes = [SessionFactory::class])
@Factory
class OgmFactory(
    private val driver: Driver
) {
    @Bean(preDestroy = "close")
    fun sessionFactory(): SessionFactory {
        val boltDriver =  BoltDriver(driver) // how to set useNativeTypes here?
        return SessionFactory(boltDriver, "my.domain")
    }
}

Does anybody know how to opt-in to use native types with reusing existing Neo4j driver instance?

It works when using the Configuration.Builder().useNativeTypes()..., but I want to avoid that the driver get's created multiple times.

Thank you