pandastrike/jsck

JSCK does not support minLength and maxLength tests of unicode surrogate pairs

Closed this issue · 3 comments

ditto draft4

note: if/when we get to this, figure out if it affects performance, and if the effect's significant, include an option to turn the feature off for performance reasons.

(this comes from the assumption that the way to implement this is by checking every string for Unicode surrogates whenever minLength or maxLength are in a schema.)

every validator out there neglects to support this also. IIRC consensus was it's an impractical requirement.