Join GitHub today
Automatically obtain permanent IDs before saving a context #246
There is an entire class of very confusing issues stemming from objects temporary IDs not being updated to permanent IDs after saving. To combat this, I'm considering making the default and rootSaving contexts automatically obtain permanent IDs for inserted objects before saving. This has a potential perf hit in certain scenarios, and I'm considering making that behavior toggle-able. Thoughts?