This is the sensible answer, if you are considering whether you and your partner are capable of raising a child and that is what you are asking? It comes down to your ability emotionally, physically and financially to cope. Though many people don’t consider any of these things, sadly.
If it is about the heritability of your conditions, that is more complex. And a bit controversial. The starting point would be can YOU cope with any child who might also have your/your partner’s learning difficulty.
But if the issue is whether you feel it is right to risk having a child with your LD, then becomes difficult to discuss without understanding what your LD is, whether other people in your family have it (ie is it very prevalent and there for likely) and are they/you significantly impaired by it?
Pretty much most of my entire extended family are ND. There have been challenges for my children, largely due to the way education is delivered/assessed but also in the way society has changed (and covid/lockdown). However, apart from my one child’s significant MH issues, my extended family, my other DC, myself are not impaired by it. I absolutely would not have decided that I shouldn’t have children purely because of the risk of them being ND (had I known at the time).
But the thing is, I have friends who have children with other illnesses and issues that they could never have foreseen - one where a DC had a brain tumour from which he died in his teens, and a second child diagnosed with a different cancer. None of them knew the parents’ genes would combine to produce several children with a high risk of developing a form of cancer, and I know they would not have chosen to have lived with out either of them.
So this brings us back to the starting questions: are you and partner competent to look after a child; and b) are you competent to support a child who may have your LD?