My pup had an incompetant sphincter where the ring of muscle controlling the flow of urine out of the bladder doesnt do its job as well as it should. Fortunately the same medication that helps older bitches when they get spey incontinence manages the problem and so far surgery hasnt been required. She is now 5 yo. I did let her have her first heat as this can help in 50% of cases but soon after she got pyometra and had to have an emergency spey. Without the medication she is incontinent when she sleeps.
I would tell your breeder particularly if it is a congenital problem.