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

Remove legacy description of accessing eager-loaded elements #642

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

bencroker
Copy link
Contributor

@bencroker bencroker commented Aug 18, 2024

This PR removes the legacy description of the differences between accessing lazy-loaded and eager-loaded elements. It also simplifies the code samples by replacing the use of |first with .one(), which is one of the best things about how eager-loaded element queries return element collections.

@bencroker bencroker requested a review from a team as a code owner August 18, 2024 15:48
Copy link

netlify bot commented Aug 18, 2024

👷 Deploy request for craft-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f41aea7

@AugustMiller
Copy link
Contributor

Good call, thanks Ben! 💞

@AugustMiller AugustMiller merged commit 5a56fda into craftcms:main Aug 19, 2024
2 checks passed
@bencroker bencroker deleted the patch-26 branch August 19, 2024 17:46
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