I’m trying to validate a password-change struct and make sure NewPassword isn’t the same as OldPassword …
I’m trying to validate a password-change struct and make sure NewPassword isn’t the same as OldPassword …: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I’m trying to validate a password-change struct and make sure NewPassword isn’t the same as OldPassword, but…
The task
I’m trying to validate a password-change struct and make sure NewPassword isn’t the same as OldPassword, but validate:"unique=OldPassword" doesn’t seem to work on regular fields and just blows up. It’d be really nice if unique could compare against another field in the same…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.