You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,10 @@ You can also control optional outputs from the generator:
90
90
91
91
-**--skip-types**: Skip generating table `Row<>` type exports.
92
92
-**--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).
93
97
94
98
**Important:** the Drizzle schema **must be included in the tsconfig** for
95
99
type resolution to work. If they are not included, there will be an error similar to
0 commit comments