graniticio / granitic

Web/micro-services and IoC framework for Golang developers
https://granitic.io/
Apache License 2.0
35 stars 12 forks source link

PreValidate is not called when AutoValidator not defined #52

Open AbhijetPokhrel opened 4 years ago

AbhijetPokhrel commented 4 years ago

I read the docs of prevalidation from this link. It mentions to implement WsPreValidateManipulator. But the PreValidate is not called unless I define AutoValidator in the handler. I have given the reference to PreValidateManipulator as well in the handler. Is it the expected behaviour? Am I missing anything.