The question is whether they're sincerely held religious beliefs, and if the employer has been made aware of them, not whether the employer knew at the time of hiring (or if there has been a subsequent religious conversion).
But it's important to know what type of project we're talking about, how it conflicts with your religion, and whether your objection can be reasonably accommodated within your job or workplace.


