loadAstNode
#1747
-
the code in calls what is the proper way to make this work with lazy documents? |
Beta Was this translation helpful? Give feedback.
Answered by
cdietrich
Nov 11, 2024
Replies: 1 comment 7 replies
-
Hey @cdietrich, if the document isn't in memory yet, you would need to load it from disk and parse it. Likely via this method: Since this can happen in the process of resolving a variable (which is happening in sync contexts), loading the file needs to happen in sync as well. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok