The Sandman is an American fantasy drama television series based on the 1989–1996 comic book written by Neil Gaiman and published by DC Comics. The series was developed by Gaiman, David S. From Wikipedia
Allan Heinberg says Netflix mapped the two-part finale years ago, with production staying on track despite allegations against creator Neil Gaiman.