Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test variables in meta.json are not stored when pushing #29

Open
michie1 opened this issue Jun 4, 2020 · 1 comment
Open

Test variables in meta.json are not stored when pushing #29

michie1 opened this issue Jun 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@michie1
Copy link

michie1 commented Jun 4, 2020

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 local TestRenderModel is overwritten. Is this wanted behavior?

@derekrushforth
Copy link
Contributor

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.

@derekrushforth derekrushforth added the enhancement New feature or request label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants