test/stubgen: add tests for schema transpiling

This commit is contained in:
2026-07-09 15:07:09 +08:00
parent b44b420a88
commit a7c9c635fb
10 changed files with 1137 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
@0xe1f2a3b4c5d6e7f8;
struct AddressBook {
people @0 :List(Person);
struct Person {
name @0 :Text;
email @1 :Text;
phones @2 :List(PhoneNumber);
struct PhoneNumber {
number @0 :Text;
type @1 :Type;
enum Type {
mobile @0;
home @1;
work @2;
}
}
}
}