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
Not sure the rationale behind using to_existing_atom on load, but I guess the idea is that you're not trusting the database? If we input a new string value in the DB the current load function would blow up as the atom doesn't exist.
The text was updated successfully, but these errors were encountered:
Warning: this function creates atoms dynamically and atoms are not garbage-collected. Therefore, string should not be an untrusted value, such as input received from a socket or during a web request. Consider using to_existing_atom/1 instead.
Not sure the rationale behind using to_existing_atom on load, but I guess the idea is that you're not trusting the database? If we input a new string value in the DB the current load function would blow up as the atom doesn't exist.
The text was updated successfully, but these errors were encountered: