Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bug: Schema export does not include nested properties for array-object items

オープン
#562 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@JuanBerrocal がすでに取り組んでいます。

2025年11月17日 から。

評価

この issue はまだ評価されていません。

説明

Ready to be assigned

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:

  1. Load the "theaters" example schema (or any schema with arrays containing objects with nested properties)
  2. Verify the schema includes an array field with object items that have defined nested properties
  3. Export the schema
  4. 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.

主要言語
TypeScript
スター
139
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Lemoncode/mongo-modeler のほかの issue

Lemoncode/mongo-modeler の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。