Preheat your oven to 200°C (Gas Mark 6).
Poach the fish
Place the milk and onion in a large saucepan and bring to a gentle boil.
Reduce the heat, add the diced fish, and simmer gently for 4–5 minutes, until just cooked through.
Using a slotted spoon, remove the fish and set aside in a large bowl. keep the milk for the sauce.
On a medium heat gradually add your butter into the milk until fully melted. Then gradually add in your flour, stirring constantly until smooth. Bring to a gentle boil, then reduce the heat and simmer for 3–4 minutes, or until the sauce thickens. Season to taste with salt and freshly ground black pepper.
Spoon the fish mixture into a 1.5-litre ovenproof dish, spread evenly.
Top with mashed potatoes, spreading smoothly to the edges. Sprinkle the grated cheddar evenly over the surface.
Bake
Bake for 15–20 minutes, or until the pie is piping hot and the top is golden brown.