Some parents think that they 'shouldn't have to change anything' to be parents. Some parents think 'everything will change' in becoming a parent. Both perspectives, and every perspective in between, and those perspectives beyond, are valid. But, if your child needed to not eat peanuts to survive, would you insist on feeding your child peanuts? Yes, deliberately attempting to build tolerance to peanuts and bee stings can be attempted, but what would you be willing to do, what changes would you be willing to make, for your child, if you needed to for your child to survive?
https://www.tommys.org/baby-loss-support/stories/miscarriage/supporter-stories/could-my-diet-be-causing-my-miscarriages
With respect & best wishes for all who are commenting!