You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I test I see that these limits are not enforced:
constresult=awaiturqlClient.mutation(document,{message: 'a'.repeat(maximumFieldSize*2),}).toPromise()// result should contain some form of 413 error, but it actually just returns success
I did see some old (2017) issue about passing args for the body parser, but I don't see anything about that in the latest docs.
Is it possible to limit the size of request bodies?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
According to the docs I should be able to limit size with the following config:
But when I test I see that these limits are not enforced:
I did see some old (2017) issue about passing args for the body parser, but I don't see anything about that in the latest docs.
Is it possible to limit the size of request bodies?
Beta Was this translation helpful? Give feedback.
All reactions