Employers have a duty under anti-discrimination legislations to not discriminate against people with a disability including mental illness (although I am not meaning to suggest that you necessarily identify with being disabled or that your depression is a disability).