You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for uncovering a bug. One shouldn't be able to export or import a detached entity. In future, Breeze will throw if you attempt to do either. That's different behavior from what your pull request would do. I've closed that request, grateful for your efforts but with the understanding that we cannot follow your lead on this one.
I'll keep the issue open until we actually fix the bug.
Back on your S.O. question I address the need that prompted your discovery.
@wardbell Could we re-visit the idea of putting your solution for this problem in the core? For me at least, this is a common function I'm using all the time.
Would be great to have a method on entityManager like .importSaveResult(sandboxEm,saveResult)
See discussion:
http://stackoverflow.com/questions/28098520/breeze-entitymanager-not-removing-imported-detached-entites
The text was updated successfully, but these errors were encountered: