-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Clarify populate
usage
#2034
Clarify populate
usage
#2034
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Few comments (working from the preview first before I do specific page by page review: The direct examples are freaking awesome but a few concerns:
For this one: https://documentation-git-dev-clarify-populate-strapijs.vercel.app/dev-docs/api/rest/guides/populate-creator-fields I have a lot more feedback here as there are several things being done here that I absolutely don't recommend (for performance, security, and as general best practices). But I can help you rewrite a new example. Here is the quick list:
Let me know if you want to do a workshop or just have me create/push a fix |
docusaurus/docs/dev-docs/api/rest/guides/populate-creator-fields.md
Outdated
Show resolved
Hide resolved
docusaurus/docs/dev-docs/api/rest/guides/understanding-populate.md
Outdated
Show resolved
Hide resolved
docusaurus/docs/dev-docs/api/rest/guides/understanding-populate.md
Outdated
Show resolved
Hide resolved
Thanks for your feedback, @derrickmehaffy! Really helpful!
I'm not sure to fully understand what we should do 🤔 Is this yet another use case — if yes, I should probably add it to the table here as well and create another section. Maybe we could discuss this during our workshop too? 😊 |
Thanks for your help, @derrickmehaffy and @kasonde! Ideally we'd like to have this live in docs.strapi.io for end of March (as it's a project that should be completed in Q1 2024). |
docusaurus/docs/dev-docs/api/rest/guides/understanding-populate.md
Outdated
Show resolved
Hide resolved
@pwizla I rewrote that populate example, here is the preview: https://documentation-git-dev-clarify-populate-strapijs.vercel.app/dev-docs/api/rest/guides/populate-creator-fields |
This PR:
populate
usage and custom controllers (this is a copy and paste of some previous content, moved to its own guide)Direct preview links:
👉 Simplified REST API reference for
populate
👉 New "Understanding populate" guide
👉 "How to populate creator fields" guide