fix: cast memorized value to the corresponding type
Tango DB stores memorized values as strings. Cast them to the corresponding type.
Additionally refactor apply_memorized_attributes()
.
Tango DB stores memorized values as strings. Cast them to the corresponding type.
Additionally refactor apply_memorized_attributes()
.