Dont wrap schema
psi-4ward opened this issue · comments
why do you wrap given Schema ?
So i can not add additional Schema stuff like
definitions or even
Perhaps we could only wrap it if the source-schema Obj does not include a
Thought the same. But I would remove https://github.com/kulakowka/feathers-validate-hook/blob/master/lib/validate/index.js#L8-L12
The developer should be responsible for providing the correct schema.
@kulakowka What do you think? I could create a pr if you want