I used to like Harvey and Oatey’s music back in the 70s and 80s . . .
If the connection has a washer or gasket then that will seal the water from the connecting threads. So long as the tape or sealant compound doesn’t extend past the washer or gasket you are good. I’ve use good old Teflon tape and had good results.