Vex validate w anon. function: cannot inject attribute @vex_validations into function/macro because cannot escape #Function

Its supposed to be

 by: [function: &Test.test/2,

It accepts function of arity 1 or 2 - if it is 2 it is passing context as second param.

You might have to relook at your test function