#Folder Layout

4 messages · Page 1 of 1 (latest)

pine grotto
#

Are there any rules about how many subfolders you can have (depth) in the convex folder, like convex/folder1/folder2

hexed mica
#

@oblique acorn - Are there any rules about how many subfolders you can have (depth) in the convex folder, like convex/folder1/folder2

oblique acornBOT
#

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:

  1. 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).
  2. 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).
  3. 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).

If you're encountering issues with your project structure, it might be worth reaching out to the Convex community for further assistance.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: