-
Notifications
You must be signed in to change notification settings - Fork 46
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
ensure getEnvOption('pageObject'') resolves the PageObject #408
Conversation
@hbugdoll now it resolves the NavItemPage object, which is the expected as the context key is known as |
@hbugdoll i'am going to merge, need to tag a fresh release. if there is anything left, please create a PR. thank you very much for all the hints and help. |
I'm a little bit to late, my review is just finished. It's all ok. |
We only have to adjust the docs again... |
thats the relation loading concept uf yii2, i assume people are familiar with those concepts. We have to point to the relations getXYZ() method, as they exists in the docs: https://api.luya.io/luya-cms-models-navitempage.html#getNavItem()-detail Or did i understand you wrong? |
@hbugdoll but please feel free to extend and improve the docs, its always welcome 👍 |
In my opinion it is misleading because you have to call |
Sure, you can extend this. For me it was important to point into the api docs and i assume people understand the relation concept uf yii2. but please add some more extra text if you like 👍 |
#401 (comment)