View Source Ash.Resource.Validation.AttributeDoesNotEqual (ash v1.53.3)

A validation that fails unless the attribute does not equal a specific value before changes are applied.

Creates, however, will take into account the changes.