Files
main/rules-v0/convex-cursorrules-prompt-file/convex-development---general.mdc
2025-02-27 00:04:07 +05:30

7 lines
412 B
Plaintext

---
description: Applies general rules for Convex development, emphasizing schema design, validator usage, and correct handling of system fields.
globs: **/convex/**/*.*
---
- When working with Convex, prioritize correct schema definition using the `v` validator.
- Be aware of the automatically-generated system fields `_id` and `_creationTime`.
- See https://docs.convex.dev/database/types for available types.