Collections in Edge Functions? #2519
Unanswered
lehrblogger
asked this question in
Q&A
Replies: 1 comment
-
|
I don't quite have an answer to this yet, but I have a bit more info to share in case anyone else is trying to figure this out as well. According to this thread on Twitter:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use collections on dynamic pages, but I'm having some trouble. I first tried to use them on Serverless pages, but the collections were incomplete, and I was advised to use Edge functions instead in #2437. The other related issue is #2268.
With Edge functions, I'm seeing that
collections.allisundefinedinside of the{% edge "liquid" %}blocks. The changes I used to test are here, using2.0.0-canary.8:Am I doing something wrong? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions