From cc02fffeb75651c64451400de99ccd52066eed54 Mon Sep 17 00:00:00 2001 From: ayush00git Date: Thu, 26 Feb 2026 00:37:42 +0530 Subject: [PATCH 1/2] fix(docs): updated the compiler guide --- docs/compiler/compiler-guide.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/compiler/compiler-guide.md b/docs/compiler/compiler-guide.md index 33c8f6bc9f..c53fa1c192 100644 --- a/docs/compiler/compiler-guide.md +++ b/docs/compiler/compiler-guide.md @@ -64,9 +64,10 @@ Compile options: | `--go_out=DST_DIR` | Generate Go code in DST_DIR | (none) | | `--rust_out=DST_DIR` | Generate Rust code in DST_DIR | (none) | | `--csharp_out=DST_DIR` | Generate C# code in DST_DIR | (none) | -| `--go_nested_type_style` | Go nested type naming: `camelcase` or `underscore` | from schema/default | -| `--emit-fdl` | Print translated Fory IDL for non-`.fdl` inputs | `false` | -| `--emit-fdl-path` | Write translated Fory IDL to a file or directory | (stdout) | +| `--grpc` | Generate gRPC service code (in development) | `false` | +| `--go_nested_type_style` | Go nested type naming: `camelcase` or `underscore` | `underscore` | +| `--emit-fdl` | Emit translated FDL (for non-FDL inputs) | `false` | +| `--emit-fdl-path` | Write translated FDL to this path (file or directory) | (stdout) | Scan options (with `--scan-generated`): @@ -180,6 +181,12 @@ foryc schema.proto --emit-fdl foryc schema.fbs --emit-fdl --emit-fdl-path ./translated ``` +**Generate gRPC service code:** + +```bash +foryc schema.fdl --grpc --lang go,java +``` + ## Import Path Resolution When compiling Fory IDL files with imports, the compiler searches for imported files in this order: From 6a68ec637b7cde9d5d20d2aa6a739f56bc251e16 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Date: Thu, 26 Feb 2026 10:41:36 +0530 Subject: [PATCH 2/2] removed the --grpc usuage --- docs/compiler/compiler-guide.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/compiler/compiler-guide.md b/docs/compiler/compiler-guide.md index c53fa1c192..4a513f2901 100644 --- a/docs/compiler/compiler-guide.md +++ b/docs/compiler/compiler-guide.md @@ -64,7 +64,6 @@ Compile options: | `--go_out=DST_DIR` | Generate Go code in DST_DIR | (none) | | `--rust_out=DST_DIR` | Generate Rust code in DST_DIR | (none) | | `--csharp_out=DST_DIR` | Generate C# code in DST_DIR | (none) | -| `--grpc` | Generate gRPC service code (in development) | `false` | | `--go_nested_type_style` | Go nested type naming: `camelcase` or `underscore` | `underscore` | | `--emit-fdl` | Emit translated FDL (for non-FDL inputs) | `false` | | `--emit-fdl-path` | Write translated FDL to this path (file or directory) | (stdout) | @@ -181,12 +180,6 @@ foryc schema.proto --emit-fdl foryc schema.fbs --emit-fdl --emit-fdl-path ./translated ``` -**Generate gRPC service code:** - -```bash -foryc schema.fdl --grpc --lang go,java -``` - ## Import Path Resolution When compiling Fory IDL files with imports, the compiler searches for imported files in this order: