Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular dependencies #11

Open
isacandrei opened this issue Jun 15, 2018 · 5 comments
Open

Circular dependencies #11

isacandrei opened this issue Jun 15, 2018 · 5 comments
Labels
question Further information is requested

Comments

@isacandrei
Copy link
Contributor

isacandrei commented Jun 15, 2018

Deal with the fact that there can be recursion in models if properties depend on each other.

Proposed solution: Add maximum depth to loaded relations in a Model.

@nibra nibra added the question Further information is requested label Nov 21, 2020
@nibra
Copy link
Contributor

nibra commented Nov 21, 2020

Missing problem description. Please add description, otherwise this issue will be closed on Dec, 5th.

@wilsonge
Copy link
Contributor

Edited in

@nibra
Copy link
Contributor

nibra commented Nov 23, 2020

@wilsonge Would you mind completing the sentence? Unable to decode 'Edited in'

@wilsonge
Copy link
Contributor

I edited it into the original issue ;)

@nibra
Copy link
Contributor

nibra commented Nov 26, 2020

Basically with the relations you can end up in infinite recursion right now going between relations. typically this needs to be stopped from happening by specifying maximum depths on the models to query relations

Maximum depth looks like a workaround to me. Can' we think of a better way to (really) detect and handle recursion?
(To answer this, we need to find and name the usecases, where recursion happens to be a problem).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants