You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueValidator calls any validation method as static, therefore it is required to pass self as first parameter to preserve right context, which is breaking code validation.
The possible solution is to check method context in ValueValidator, and add self explicitly.
The text was updated successfully, but these errors were encountered:
There's an issue when using any parametrized
self
method in any validation rule as lambda function:ValueValidator
calls any validation method as static, therefore it is required to passself
as first parameter to preserve right context, which is breaking code validation.The possible solution is to check method context in
ValueValidator
, and addself
explicitly.The text was updated successfully, but these errors were encountered: