All fields are merged in case of related entity with the same iri
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- api
調査の方向性
parseHydraDocumentation() エントリーポイントから開始し、User と UserProfile が同じ IRI を共有するケースを再現します。2 つのエンティティ定義がどのように表現されるかを追跡し、パースによって各エンティティのフィールドが保持され、最後のエンティティのフィールドだけが残る状態になっていないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
In case of subresources using the same "iri" of the parent, all fields are merged into the same resource.
Test case, two entities with the same iri:
// entities
User:
id
username
password
userProfile (OneToOne)
UserProfile:
id
photo
firstname
...
// resources file
App\Entity\User:
iri: 'http://schema.org/Person'
App\Entity\UserProfile:
iri: 'http://schema.org/Person'
Result is all the fields of the latest entity (with the same iri) parsed by the parseHydraDocumentation(), in my case the fields are from "UserProfile" entity.
- 主要言語
- TypeScript
- スター
- 113
- フォーク
- 80
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
api-platform/api-doc-parser のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
api-platform/api-doc-parser#158 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
api-platform/api-doc-parser#130 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
api-platform/api-doc-parser#129 · コメント 1 件 ·
-
api-platform/api-doc-parser#125 · コメント 1 件 · 担当者 1 名 ·
-
api-platform/api-doc-parser#115 · コメント 4 件 · 担当者 1 名 ·
api-platform/api-doc-parser の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·