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
I'd previously been managing a partial for my signup page using the Management API. I see that the CLI now supports managing partials. After exporting my current settings, I noticed that the raw template gets dumped in the tenant.yml file, eg:
But attempting to use a similar structure in the tenant.yml causes failures on import due to not being a valid schema.
Expectation
It would be great to have support for referencing a template file in YAML as managing the template directly in the tenant.yml file is messy once you have more than a couple lines of HTML.
Reproduction
Upload a partial using the Management API
Export tenant settings using the YAML format
Notice that the partial contents are exported directly into tenant.yml instead of a file
Deploy CLI version
8.4.1
Node version
18.19.0
The text was updated successfully, but these errors were encountered:
Hi, @mmawhinney
Thanks for opening this issue. Removing the bug tag seems more like a feature support.
Support referencing the template from a file similar to the directory format in YAML; it can be a breaking change for some users. This feature can be supported in the next major version releases.
Checklist
Description
I'd previously been managing a partial for my signup page using the Management API. I see that the CLI now supports managing partials. After exporting my current settings, I noticed that the raw template gets dumped in the
tenant.yml
file, eg:From what I've been able to find, the directory format supports referencing the template from a file, eg:
But attempting to use a similar structure in the
tenant.yml
causes failures on import due to not being a valid schema.Expectation
It would be great to have support for referencing a template file in YAML as managing the template directly in the
tenant.yml
file is messy once you have more than a couple lines of HTML.Reproduction
tenant.yml
instead of a fileDeploy CLI version
8.4.1
Node version
18.19.0
The text was updated successfully, but these errors were encountered: