Water heater question!

Maybe someone knows this? I recently was informed that copper flex lines were no longer approved for supply connections to water heaters. Is this accurate info?

Check with your local authority. Some jurisdictions approve everything, some approve some types of flex, and some only black mal. There’s no set standard.