api-platform / api-platform/api-doc-parser
All fields are merged in case of related entity with the same iri
未关闭
Hacktoberfest
- 主要语言
- TypeScript
- 星标
- 113
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
...
```
```yaml
// 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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。