storyblok / storyblok-php-client

Storyblok - PHP Client
https://www.storyblok.com
MIT License
33 stars 37 forks source link

Fix/int 859 #86

Closed roberto-butti closed 1 year ago

roberto-butti commented 1 year ago

Pull request type

Jira Link: INT-859

How to test this PR

What is the new behavior?

Resolving nested relations.

This PR introduces the feature to resolve nested relations. We set a boolean to indicate to the algorithm to stop resolving the nested relations during the resolving relation. The PR allows tracking of the level of the nested relations.

For testing:

composer run test

Especially take a look at tests:

roberto-butti commented 1 year ago

I'm going to close this PR. I will add a new PR that prevents resolving autoreferenced nested stories