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

fix(Block): added relation resolution to Block's inverseRelation method #56

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

codyworthen
Copy link
Contributor

@codyworthen codyworthen commented Aug 22, 2024

I have found that it's useful to have Block.php's inverseRelation method accept an argument for resolving relations, both for "real" storyblok api requests, as well as when dealing with Live Editor JSON that may come from storyblok because storyblok doesn't resolve relations by default.

@RicLeP RicLeP merged commit 416cc30 into RicLeP:master Sep 6, 2024
@RicLeP
Copy link
Owner

RicLeP commented Sep 6, 2024

@codyworthen thanks for this, merging now and will release soon. Sorry for the delay - school summer holidays here.

The inverse relations are something I definitely am looking to enhance as they can be a performance hit at times when there are lots of related pages, or chained relations

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.

2 participants