Validate Input at Runtime with Zod Instead of Type Assertions | BeforeMerge Rules | BeforeMerge