From 4d319020ff6501b253402272ad67d9fbfec34b0b Mon Sep 17 00:00:00 2001 From: Kunal Garg Date: Sun, 5 Jan 2025 15:58:00 -0500 Subject: [PATCH] docs: Update eager-and-lazy-relations.md (#10791) --- docs/eager-and-lazy-relations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/eager-and-lazy-relations.md b/docs/eager-and-lazy-relations.md index b082af615..3859d8f96 100644 --- a/docs/eager-and-lazy-relations.md +++ b/docs/eager-and-lazy-relations.md @@ -142,6 +142,6 @@ const categories = await question.categories ``` Note: if you came from other languages (Java, PHP, etc.) and are used to use lazy relations everywhere - be careful. -Those languages aren't asynchronous and lazy loading is achieved different way, that's why you don't work with promises there. +Those languages aren't asynchronous and lazy loading is achieved in a different way, that's why you don't work with promises there. In JavaScript and Node.JS you have to use promises if you want to have lazy-loaded relations. This is non-standard technique and considered experimental in TypeORM.