i Register
In some senses, hagiographer is marked as derogatory, figuratively. Watch for register when choosing this word.
noun
Someone who writes the biography of a saint.
Someone who writes in an excessively flattering and laudatory way about a person (as if that person were a saint).
A writer of any of the Hagiographa․