Reheat the oven to 400 degrees
Combine tomatoes, garlic, and olive oil in a greased casserole pan.
Make a well in the center and place the block of feta on the bottom of the pan.
Drizzle oil over the feta and season with salt and pepper.
While the dish is baking, cook your pasta al dente. Drain the pasta, reserving one cup of the pasta water.
Bake until the tomatoes burst, then remove from the oven
Stir until the tomatoes and feta are well-combined, then add the cooked pasta and toss to combine.
Add some of the pasta water until the sauce reaches the desired consistency.
Sprinkle with chopped basil before serving