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

Cyclical references #42

Closed
mabar opened this issue Dec 3, 2022 · 3 comments
Closed

Cyclical references #42

mabar opened this issue Dec 3, 2022 · 3 comments

Comments

@mabar
Copy link
Member

mabar commented Dec 3, 2022

Any object can reference, directly or indirectly, itself. At bare minimum, metadata loading should work.

@mabar
Copy link
Member Author

mabar commented Dec 4, 2022

Partially resolved by 89ebf34

Needs tests for indirect references like: (solved by 29a0d58)

  • Example property containing array of Example
  • Foo property containing Bar and Bar property containing Foo

MappedObjectRule::createType() should improve: (solved by dd60919)

  • type for cyclical reference
  • write cyclical reference only for a property which is cyclical

DefaultProcessor::handleMissingFields() should be reviewed, auto-inicialization could lead to infinite loop

Either MappedObjectRule's Type or Printers should be reviewed for better cyclical references support

@mabar
Copy link
Member Author

mabar commented Dec 5, 2022

Finished, solution for auto-initialization continues in #45

@mabar mabar closed this as completed Dec 5, 2022
@github-actions
Copy link

github-actions bot commented Jan 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant