Metal-catalysed synthesis in the presence of boronates