Imagine you have a flat piece of glass as a lens so the focal length is infinity since in the formula$$ \frac{1}{f}~=~\left(n-1\right)\left(\frac{1}{R_1}-\frac{1}{R_2}\right) \,,$$where $R_1 \to \infty$ and $R_2 \to \infty$.
The limit of resolution is given by$$ d \, = \, 1.22 \frac{f \, \lambda}{D} \,.$$So if I understand correctly since $f$ approaches infinity, then the limit of resolution should approach infinity. But how could that be?
Since at home if I look outside through the window of my home (a flat plane of glass) at night at two different lights outside I can resolve them easily. So what am I missing here?