-
Notifications
You must be signed in to change notification settings - Fork 6
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
DEVREL-977 - Flatten circular data, fix product filtering #57
Conversation
✅ Deploy Preview for new-sample-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I refactored the method and added comments to make the steps clear. Also added a readme entry. |
Motivation
DEVREL-977
Adds helper methods to flatten/restore items with potential circular references to pass through getStaticProps. Fixes a bug where product filtering wasn't applied at all.
Checklist
How to test
Introduce a circular reference in Kontent.ai project (e.g. via content item link in any given Fact item), run the app and visit any page that requests said item, confirm it works as expected.