Open Lezek123 opened 3 years ago
Needs refreshing and allocation to the right pipeline @ondratra
Key:
Changing any of the relationship field names (posts -> discussionPosts or thread -> discussionThread) in ProposalDiscussionThread -> ProposalDiscussionPost relationship resolves the issue.
Version:
3.1.0-alpha.0
Minimal schema example:
Hydra codegen result:
Only the
ForumThread
->ForumPost
relationship is preserved in the generated models, while theProposalDiscussionThread
->ProposalDiscussionPost
relationship is missing:proposal-discussion-post.model.ts
proposal-discussion-thread.model.ts
Additional observations
Changing any of the relationship field names (
posts
->discussionPosts
orthread
->discussionThread
) inProposalDiscussionThread
->ProposalDiscussionPost
relationship resolves the issue.