I am not understanding how the domain is supposed to work. I know that x cannot be 0, but I'm confused about the interval. Looking at the direction field for the solution that goes through (-1,1), I see a parabola that seems to be bounded by x=-2 and x=0. What does this mean in terms of the domain?

$\displaystyle \frac{dy}{dx}=(1+x)(1+y)^2, \;\; y(-1)=1$