-
-
Notifications
You must be signed in to change notification settings - Fork 21
Unable to convert self-referring instances to resources #1
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
Comments
still smells. but should fit now. Originally posted by @tobias-trozowski at zendframework/zend-expressive-hal#57 (comment) |
@tobias-trozowski I've rebased your branch to squash several commits and remove both the revert commits and the commits they were reverting; the diff ends up the same as you had committed previously. In the future, feel free to use I'll review again now to see where we are in terms of ability to merge. Originally posted by @weierophinney at zendframework/zend-expressive-hal#57 (comment) |
Any news on this issue? |
@guliano Not yet. We're still finishing out tasks related to the Laminas migration, so it may be a few weeks. |
master
branch, and submit against that branch.CHANGELOG.md
entry for the fix.Imagine the following example:
Other examples:
One-To-One, Bidirectional
One-To-One, Self-referencing
One-To-Many, Bidirectional
One-To-Many, Self-referencing
Many-To-Many, Bidirectional
Many-To-Many, Self-referencing
The zfcampus/zf-hal component solved this issue by using a
$maxDepth
property in metadata which is then passed through here and here.Using this approach would result in a change of the
\Zend\Expressive\Hal\ResourceGenerator\StrategyInterface
interface which would be a BC break.I would love if someone comes up with an alternate solution which will not break BC.
Originally posted by @tobias-trozowski at zendframework/zend-expressive-hal#57
The text was updated successfully, but these errors were encountered: