Hello all, I know there are some old posts about the subject, but did not found the answer I am looking for. It seems to me there is not much importance given to unique identifiers in core doctypes. I noticed the user model has an idx. but generally, queries are based on .name field which can change on time.
So, 1 . how do you manage to make sure your site will not break when the user has ie: changed his name, or when an article is renamed.
2 Why the core team does not give more relevance to safe queries against fields that will not change on time?
I am working on version-12, I would add in frappe or erpnext to some core doctypes the field uid and set the naming series. But, I am afraid after an update or a migration this gets broken. 3. What does the community suggest?
4 What would be the process to persist those changes in a safe way?