Any form of cooking, or heating, you’ll lose some nutrients, especially the water soluble ones. I wouldn’t worry about it though.
I once talked to a Japanese (one of the healthiest population on planet). When he prepare soba (buckwheat noodles), he’ll use the water that cooked the noodles and them into soup. So they wouldn’t waste the nutrients that leeched from the noodles to the water.