You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that if an instance of Context is created and passed to render, it is never provided a templateName property. I see that context.wrap immediately returns instances of Context. As it is, it seems that it is impossible to set a Context's templateName property via API.
I'm left wondering if I'm missing something obvious or whether this is a purposeful design decision that is intended to prevent something dangerous.
Is the expectation that we should monkey patch this property in user land?
The text was updated successfully, but these errors were encountered:
It seems that I am unable to retrieve my template's name when providing an instance of
Context
todust.render
.Here is a quick reproduction of the issue:
It seems that if an instance of Context is created and passed to render, it is never provided a
templateName
property. I see thatcontext.wrap
immediately returns instances of Context. As it is, it seems that it is impossible to set a Context's templateName property via API.I'm left wondering if I'm missing something obvious or whether this is a purposeful design decision that is intended to prevent something dangerous.
Is the expectation that we should monkey patch this property in user land?
The text was updated successfully, but these errors were encountered: