Closed mjpieters closed 1 year ago
I'd have expected the issue to be closed automatically, because my PR referenced it with 'fixes'.
But, given that it was merged into the dev branch, perhaps you wanted to keep this open until it has been released?
Don't worry about closing this issue or not, I'll ensure it closed after it is released.
There will be a few more minor features along with this one in the next minor update.
Minor nit: Please set the
showConstraintMessages
parameter toValidationError.toString()
totrue
when validating headers, here:https://github.com/momocow/webpack-userscript/blob/5bca4c8fa68cd296d58e0c7ada967882c9641f6e/lib/features/validate-headers/impl.ts#L54-L56
If you use
err.toString(undefined, undefined, undefined, true)
there then the validator message is shown rather than the name, which is a bit more informative. Comparewith