You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by ch...@apache.org on 2026/04/29 13:33:22 UTC
(fory-site) 02/03: 🔄 synced local 'docs/compiler/' with remote 'docs/compiler/'
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
commit c55fa390a345328614a21b26561de1b4538dd444
Author: chaokunyang <sh...@gmail.com>
AuthorDate: Wed Apr 29 13:33:16 2026 +0000
🔄 synced local 'docs/compiler/' with remote 'docs/compiler/'
---
docs/compiler/generated-code.md | 4 +++-
docs/compiler/schema-idl.md | 7 +++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/compiler/generated-code.md b/docs/compiler/generated-code.md
index 583cd79b6..5098fb2af 100644
--- a/docs/compiler/generated-code.md
+++ b/docs/compiler/generated-code.md
@@ -515,7 +515,9 @@ class Animal final {
};
```
-Generated headers also include `FORY_UNION`, `FORY_FIELD_CONFIG`, `FORY_ENUM`, and `FORY_STRUCT` macros for serialization metadata.
+Generated headers include `FORY_UNION`, `FORY_ENUM`, and `FORY_STRUCT` macros
+for serialization metadata. Field and payload configuration is embedded in the
+generated `FORY_STRUCT`/`FORY_UNION` entries.
### Registration
diff --git a/docs/compiler/schema-idl.md b/docs/compiler/schema-idl.md
index bffa4eb46..9f514fd0d 100644
--- a/docs/compiler/schema-idl.md
+++ b/docs/compiler/schema-idl.md
@@ -1237,8 +1237,11 @@ message Order {
Use the `list<...>` type for list fields. `repeated` is accepted as an alias. See [Field Modifiers](#field-modifiers) for
modifier combinations and language mapping.
-Nested collection types are not supported. Use a message wrapper if you need
-`list<list<...>>`, `list<map<...>>`, or `map<..., list<...>>`.
+Nested collection support is target-capability based. The C++ generator accepts
+nested collection specs such as `list<list<...>>`, `list<map<...>>`, and
+`map<..., list<...>>`; targets that have not implemented nested field specs
+continue to reject them. Use a message wrapper when you need portable schemas
+across all targets.
#### Map
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org