Fork me on GitHub
#graphql
<
2020-02-26
>
joaohgomes15:02:15

Does anyone know if it is possible to set a max payload/size for body and header in lacinia/pedestal? I was trying to find references in the source code to no avail. I was assuming then I’d hit the jetty engine limit (200Kb by default), but apparently lacinia is still trying to parse the input for bigger payloads. Off course I could use an interceptor to impose this limit but I’m wondering if there’s a nicer/easier way of doing it…

hlship16:02:37

Certainly something to consider at the Pedestal interceptor stage; remember that Lacinia doesn't really know about requests and responses, it's just an api.

💯 4
joaohgomes18:02:30

Thank you! 🙂