Ash.Type.prepare_change
You're seeing just the function
prepare_change
, go back to Ash.Type module for more information.
Process the old casted values alongside the new uncasted values.
This is leveraged by embedded types to know if something is being updated or destroyed. This is not called on creates.