This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new de16a6baf6 🔄 synced local 'docs/compiler/' with remote 'docs/compiler/'
de16a6baf6 is described below
commit de16a6baf6747e214a21b87d9ad87deaed9bd135
Author: chaokunyang <[email protected]>
AuthorDate: Mon Jun 29 06:44:06 2026 +0000
🔄 synced local 'docs/compiler/' with remote 'docs/compiler/'
---
docs/compiler/generated-code.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/compiler/generated-code.md b/docs/compiler/generated-code.md
index b3e5ebc91f..68fddf234c 100644
--- a/docs/compiler/generated-code.md
+++ b/docs/compiler/generated-code.md
@@ -1062,8 +1062,7 @@ export enum AnimalCase {
}
export type Animal =
- | { case: AnimalCase.DOG; value: Dog }
- | { case: AnimalCase.CAT; value: Cat };
+ { case: AnimalCase.DOG; value: Dog } | { case: AnimalCase.CAT; value: Cat };
```
### Schema Helpers
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]