Since the pasta will be baked in the oven, I suggest cooking the pasta al dente which means it will have just a little bite left to it. You don’t want it to be overcooked and mushy. Cook it the shortest amount recommended or 1 minute less than advised.