Skip to content

Conversation

@MischaPanch
Copy link

Just a reference on how #304 could be solved. One could also add a new type <Model>ShallowRelations, but it would be more work to add this to all the conditionals, so I wanted to get your opinion on it first @chrishoermann. As described in the issue, I don't fully see how non-shallow relations would be actually useful.

Before this, fields in a Relations type would reference Relations type, which would often reference Relations type itself, leading to infinite nesting.

Now instead the fields reference

Before this, fields in a <Model>Relations type would reference <OtherModel>Relations type, which
would often reference <Model>Relations type itself, leading to infinite nesting.

Now instead the fields reference <OtherModel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant