Skip to content

Commit f92a24a

Browse files
committed
chore: docs
1 parent 3273694 commit f92a24a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ You can also control optional outputs from the generator:
9090

9191
- **--skip-types**: Skip generating table `Row<>` type exports.
9292
- **--skip-builder**: Skip generating the query `builder` export.
93+
- **--disable-legacy-mutators**: Disable legacy CRUD mutators (sets `enableLegacyMutators` to `false` in the generated schema). Use this when you want to use only custom mutators instead of the default CRUD operations.
94+
- **--disable-legacy-queries**: Disable legacy CRUD queries (sets `enableLegacyQueries` to `false` in the generated schema). Use this when you want to use only custom queries.
95+
96+
For more information on disabling legacy mutators and queries, see the [Zero documentation](https://zero.rocicorp.dev/docs/custom-mutators#disabling-crud-mutators).
9397

9498
**Important:** the Drizzle schema **must be included in the tsconfig** for
9599
type resolution to work. If they are not included, there will be an error similar to

0 commit comments

Comments
 (0)