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
The GraphQLView and its async version allow overriding the template file. However, the loading of the template is incorrect, resulting in JSON.parse("") // empty string , because the variable is already replaced.
The loading in the try section, erronously calls render_to_string and sticks the result into a Template class. However, render_to_string already renders the entire template, replacing its variables.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
The GraphQLView and its async version allow overriding the template file. However, the loading of the template is incorrect, resulting in
JSON.parse("") // empty string
, because the variable is already replaced.Additional Context
In the view we see the following code:
The loading in the try section, erronously calls render_to_string and sticks the result into a Template class. However, render_to_string already renders the entire template, replacing its variables.
Upvote & Fund
The text was updated successfully, but these errors were encountered: