BMW battery charging

Hello, I heard that charging a BMW battery through the trunk and directly to the battery is bad and should always be done through the hood. I did not know this and charged my BMW directly to the battery in the trunk. Would this cause any problems in the future? Everything is working fine so far.