The effect of overcharging is not dangerous, however what happens is eventually the battery cells will swell and die. This usually does not happen on day 1, week 1, month one or even year one, it’s like death by 1000 cuts!
Many early mains chargers and also a lot of multistage chargers never stop charging, once the battery is charged they remain on trickle full time. No batteries like this (including AGM’s), so if you park up long term and want to plug into mains to run a charger, either buy a charger with “storage mode” or buy an electronic timer that can rest the battery.
If you park your vehicle outside and it has solar, the solar should be more than adequate to maintain the battery and it is then resting at night.