I managed to fix this by adding a new method in the entity.
public function getIsBookable(): ?bool
{
return $this->isBookable();
}
I guess behind the scenes ApiPlatform calls something like `$entity->get{$field}` instead of the classic symfony getter