Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IsOneOfValidator -> InSetValidator in 12.1p

    Hi Isomorphic,

    Looking closely at the compiler output when changing versions for a test I just noticed that 12.0p IsOneOfValidator is deprecated in 12.1p. One should use InSetValidator from 12.1p onward, instead. Should these deprecations be in the Change Logs?

    Thank you & Best regards
    Blama

    #2
    Actually, I think this should be in the change logs, especially if you do not also warn in the server logs or Developer Console logs, because otherwise one might be unaware of these changes. Perhaps not for Java code, but certainly for .ds.xml.

    Comment


      #3
      Turns out this was an accidental deprecation. While isOneOf is redundant with inSet, we don’t plan to deprecate it any time soon.

      Comment

      Working...
      X