Open michie1 opened 4 years ago
Hey @michie1,
Postmark doesn't store the TestRenderModel
in the web UI as of right now. I don't have an ETA on when this will be available. It's on our list though! The TestRenderModel
is only used when rendering your templates using the postmark templates preview <directory>
command.
If I pull the template my local TestRenderModel is overwritten. Is this wanted behavior?
Yes, this is the current behavior. Though it's not ideal. Each time you pull we validate your template and generate a suggested TestRenderModel
just to make sure you have the latest keys. We have plans to cleanly merge this with the current values in your metadata file.
In meta.json I changed the
TestRenderModel
and I pushed the template to my Postmark environment. I would have expected those would show up when showing the preview in the web UI, but the default value is still being shown"name": "name_Value"
. If I pull the template my localTestRenderModel
is overwritten. Is this wanted behavior?