Sako Kalid
Sako Kalid
@michaelbukachi you should specify that version needs to be 3.5 and above Current docs reads like it is only 3.5
I've used [patch-package](https://github.com/ds300/patch-package) to patch `@hapi/[email protected]` for the project I'm working on, to create what is needed to support custom parsers. Here is the diff that solved my problem: #...
@kanongil any thoughts ?
@kanongil Sorry for spamming, where should i leave this comment so that i can link to ? The 2 other places are in another git repository than here, and i...
@matthieusieben @devinivy so i've hit another case where this is "a problem". When uploading a file with these options: ```js options: { payload: { allow: 'multipart/form-data', parse: true, output: 'data',...
Also this is caught in a try catch, so with my patch https://github.com/hapijs/hapi/issues/4223#issuecomment-956185628 (Which i have expanded on further, @ me for updates if needed.) https://github.com/hapijs/subtext/blob/035f4ae9e33afeb25277be0f53759472c128aca5/lib/index.js#L383-L390 Will catch a parser...
@kanongil The 415 error code is not returned when parsing fails through https://github.com/hapijs/hapi/issues/4223#issuecomment-957903018 settings, and failAction is never hit. Which i think it should, unless there is a case where...
I guess this wil never be implemented, just FIY, there is a new version of HAPI now, and this should be possible. Here is the diff that solved my problem:...
And this for @hapi/hapi: ```diff diff --git a/node_modules/@hapi/hapi/lib/config.js b/node_modules/@hapi/hapi/lib/config.js index e3768ae..cd6c44f 100755 --- a/node_modules/@hapi/hapi/lib/config.js +++ b/node_modules/@hapi/hapi/lib/config.js @@ -144,6 +144,7 @@ internals.routeBase = Validate.object({ payload: Validate.object({ output: Validate.valid('data', 'stream', 'file').default('data'), parse:...
Has been nice for 1 year now, and still nothing. 