<@U0144ERR2QP> re my <earlier message about templa...
# atlantis-contributors
c
@PePe Amengual re my earlier message about templating from a while back; I'm running into a bunch of issues and difficulties with how templates currently are being constructed, in particular around
wrapped/unwrapped
that complicates things a lot - I think the templating could be simplified quite a lot by not doing partial rendering and stitching it together with
.Rendered
properties. Would y'all be open for a refactor on how the templates work and interplay with each other? It would almost certainly be breaking change for folks using existing templates, but it would allow for some significant improvements in usability and making it more predictable (unless I mess it up; hopefully that wouldn't be the case lol)
p
that sounds ok to me, a braking change needs to be justified so what ever you do, make it awesome , testable and we'll documented
c
thats the plan 😆 I kinda want to make the testing part something folks can source/use outside of Atlantis as a library Currently I have copied like 70% of the templating code and structs into our internal system so I can easily emulate the various states/output without going through Atlantis itself while working on them
would be nice to have a pkg to just import and feed it the structs and assert output 😛
👍🏽 1