-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
No duplicates 🥲.
- I have searched for a similar issue in our bug tracker and didn't find any solutions.
What happened?
Problem:
When using inheritance and mark parent and child classes as entities using attributes, \Cycle\Schema\Registry generator does not add children entities to Schema Registry.
How to reproduce:
You can reproduce it if you remove docblock comment for your annotation in tests. You can see an example here
https://github.com/makedo/annotated/tree/fail-test
I change 1 fixture by fully removing docblocks and keep only AttributeReader in tests
Proposed solution:
Remove check for docblock In Cycle\Annotated\Utils\EntityUtils::findParent
Version
annotated v3.1.0, orm v2.1.1, PHP 8.1
ORM Schema
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:bugBugBug
Type
Projects
Status
Released