Use Effect with Convex!
npm install @rjdellecese/confectConfect is a framework that deeply integrates Effect with Convex. It's more than just Effect bindings! Confect allows you to:
* Define your Convex database schema using Effect schemas.
* Use Confect functions to automatically decode and encode your data according to your Effect schema definitions when reading from and writing to the database.
* Write Convex function args and returns validators using Effect's schema library.
* Use Effect's HTTP API modules to define your HTTP API(s). Includes interactive OpenAPI documentation powered by Scalar.
* Use Effect-ified versions of all of the Convex server APIs (Promises become Effects, A | nulls becomes Options, etc.).
Want to learn more? Read the docs!