Bug: Schema export does not include nested properties for array-object items
@JuanBerrocal đang làm issue này rồi.
Từ ngày 17/11/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description:
When exporting a schema that contains an array of objects with nested properties, only items: { bsonType: "object" } is exported. All nested property definitions inside the array items are missing from the export.
Steps to Reproduce:
- Load the "theaters" example schema (or any schema with arrays containing objects with nested properties)
- Verify the schema includes an array field with object items that have defined nested properties
- Export the schema
- Compare the exported code to the expected output
Current Output:
"location": { bsonType: "array", items: { bsonType: "object" } }
Expected Output:
"location": {
bsonType: "array",
items: {
bsonType: "object",
properties: {
"address": {
bsonType: "object",
properties: {
"street1": { bsonType: "string" },
"city": { bsonType: "string" }
}
}
}
}
}
Note:
Export works correctly for non-array objects. Nested properties are included when the field is a direct object type.
- Ngôn ngữ chính
- TypeScript
- Star
- 139
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Lemoncode/mongo-modeler
-
Add color customization to relationship lines and tablesCó thể đã có người làm @RamiroRodriguezC đã nhận 132 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Lemoncode/mongo-modeler#610 · 2 bình luận ·
-
Array of objects functionalityĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Lemoncode/mongo-modeler#609 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Lemoncode/mongo-modeler#597 ·
-
[VSCode Extension] Hide Open and Save toolbar buttonsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Lemoncode/mongo-modeler#591 ·
-
[VSCode Extension] Integrate new file functionalityCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Lemoncode/mongo-modeler#590 ·
Tất cả issue của Lemoncode/mongo-modeler
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(icons): add [solidping]Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
homarr-labs/dashboard-icons#2939 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Agent/category reasoning variants are still checked against the stale model cache in chat.paramsĐang mởopencode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
code-yeongyu/oh-my-openagent#10003 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Actions on ToastsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nextcloud-libraries/nextcloud-dialogs#2669 ·
Maintainer thường phản hồi trong vòng 1 ngày