alexgorbatchev/schema.js — comment on commit 691d03685f40daa6eb00847a497e51d3403623d6
File:  line 0
By akidee:

Accepted, but this is not the best solution.
It could happen that I will change it in the future since it does only report the first non-allowed key etc.
I would prefer to extend any error with schema information (allowed keys). And your suggestion is only relevant if you validate strictly, and in this case all additional keys are not deleted; with this way, you get a better view on the error.