diff --git a/lib/valkyrie/id.rb b/lib/valkyrie/id.rb index bf3395692..204b6abdd 100644 --- a/lib/valkyrie/id.rb +++ b/lib/valkyrie/id.rb @@ -28,8 +28,10 @@ def default_equality(other) output = (other.class == self.class && other.state == state) return output if output == true if output == false && string_equality(other) && Valkyrie.config.id_string_equality.nil? + # :nocov: warn "[DEPRECATION] Valkyrie::IDs will always be equal to their string counterparts in 3.0.0. " \ "To silence this message, please either compare IDs or set Valkyrie.config.id_string_equality = true." + # :nocov: end false end