Replies: 1 comment
-
|
You can set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've got my various
strings andints typed and their limits seem to be enforced for my application. However, I've got a few places where I accept a JSON Object/dictionary. I've got my expected keys marked and my optional keys as well. But I'd love to be able to say "woah, you sent over a 200kb dictionary when I was expecting a 1kb dictionary" (as determined bysys.getsizeof?).I'll whip up some middleware for my app today, but a clear way of adding size limits to that data structure in the native integrations would be handy.
Beta Was this translation helpful? Give feedback.
All reactions