#Folder Layout
4 messages · Page 1 of 1 (latest)
@oblique acorn - Are there any rules about how many subfolders you can have (depth) in the convex folder, like convex/folder1/folder2
Let me check the knowledge base for you. One moment! :books:
Based on the provided knowledge sources, there is no explicit information about the limit on the depth of subfolders in the convex directory of a project. However, there are some limitations related to Convex that you should be aware of:
- The total size of your bundled function code in your
convex/folder is limited to 32MiB (~33.55MB) source (https://docs.convex.dev/functions/bundling#bundling-limitations). - Convex values must be less than 1MB in total size and can have at most 16 levels of nesting source (https://docs.convex.dev/database/types#limits).
- There are certain restrictions on table and index names, field names, and document size in Convex source (https://docs.convex.dev/production/state/limits).
It's also worth noting that some users have reported errors when a folder has the same name as a file in the directory below source (https://discord.com/channels/1019350475847499849/1187401985301950574).