graphql-upload icon indicating copy to clipboard operation
graphql-upload copied to clipboard

Add `which payload of field is too large` information

Open async3619 opened this issue 3 years ago • 0 comments

When we set payload size limit and got a file with way too large payload size, we will get error but we couldn't determine which field has large payload size.

https://github.com/jaydenseric/graphql-upload/blob/e01b5d5541760d529b06c900883c5fa7febcff00/processRequest.mjs#L99-L106

I think we can attach fieldName variable when we createError. Is it can be resolved?

async3619 avatar Sep 20 '22 04:09 async3619