-
Notifications
You must be signed in to change notification settings - Fork 310
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
resolveData on root #482
Comments
Hi @joaojoyce! Thanks for your report, but unfortunately I'm unable to reproduce. I tried copying your code snippet above into the demo application and the resolver ran fine. If you can share a repo or codepen which reproduces the issue, I can investigate further. |
Hi @chrisvxd , I found out that resolveData doesn't work if I pass properties to So this does work:
This doesn't
Is this intended? It's very convenient and intuitive to pass these properties to puck directly. Also, this makes it easy to abstract generic configs that would work the same on For instance, the onChange and overrides that I have here aren't needed on my frontend where I render... |
Nevermind. It was my initialData that was not built correctly. |
Hi. Is
resolveData()
on root object currently working? I'm having a hard time triggering it.I can't do it on Puck load, nor using
resolveAllData()
Here's a simple root object...It renders the title as null, even after calling
resolveAllData()
. I can't see the console.log also, so I believe it is not being triggered.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: