From c29691ba93b73e12256f64aa87651e826a3a8c82 Mon Sep 17 00:00:00 2001 From: Aditya Bhalerao Date: Sun, 6 Jul 2025 17:27:17 +0530 Subject: [PATCH] add dry_run field to WriteSchemaRequest Signed-off-by: Aditya Bhalerao --- authzed/api/v1/schema_service.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/authzed/api/v1/schema_service.proto b/authzed/api/v1/schema_service.proto index 5e06007..4455cc6 100644 --- a/authzed/api/v1/schema_service.proto +++ b/authzed/api/v1/schema_service.proto @@ -117,6 +117,10 @@ message WriteSchemaRequest { (validate.rules).string.max_bytes = 4194304, (buf.validate.field).string.max_bytes = 4194304 ]; // 4MiB + + // dry_run, if true, will validate the schema but not actually write it. + // This allows for testing schema changes without applying them. + bool dry_run = 2; } // WriteSchemaResponse is the resulting data after having written a Schema to