Most of the code [should distinguish / distinguishes] those and cannot work with both.
This was a proposal by Aleksey.
Is it true that most code can only work with one type? If so, that does sound like the addition of the foreign concept to EntityId is problematic. I'm not up to speed with the foreign stuff at all so can't judge this.
Thoughts @addshore @mariushoch @manicki @JonasKress ?