globals being overwrite by Express.js #532
YahangWu
started this conversation in
Working with Express
Replies: 1 comment 4 replies
-
Do you have a minimal repro snippet, or project? So I can help you debug what's actually happenning. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have an object called
settings
inglobals
, and when I callres.render(parentTemplate);
, thesettings
is being overwrite by Express.js.In the child template that is used in
parentTemplate
with{% render childTemplate.liquid %}
, the globalssettings
can be accessed.Is there a way that I can prevent this to happen?
Beta Was this translation helpful? Give feedback.
All reactions