RJR
Convex Community4y ago
4 replies
RJ

Deeply nested documents

I discovered today that there is a limit on object depth in Convex of 16—I see that this is documented here (https://docs.convex.dev/using/types#limits), but it could also be nice to write a note in the description of the Object Convex type in the Convex Types table here (https://docs.convex.dev/using/types#convex-types) (I don't think I would have missed it if it were there).

Is there any chance this limit might be changed in the future? I ran into this with an extremely small document by trying to store a ProseMirror doc serialized as JSON. I can just serialize it as a string and everything should be fine, but (naively, with no technical knowledge of why the limit is in place) I did find it surprisingly small.
Was this page helpful?