Hapi Route Response Options Disregarded
coldfission opened this issue · 0 comments
coldfission commented
I have a use-case which would greatly benefit from changing default processing rules in route.options.response. The usage of this package hints that I should be able to specify this configuration in my api schema:
'x-hapi-options': {
response: {
modify: true,
options: {
stripUnknown: true
}
}
},
But this configuration is disregarded at this line of code. I would be happy to submit a pull request to fix if the krakenjs team feels this is something that should be addressed.