vapor / leaf-kit

🍃 An expressive, performant, and extensible templating language built for Swift.
https://docs.vapor.codes/4.0/leaf/getting-started
MIT License
49 stars 38 forks source link

Deep Extension Resolution #52

Closed tdotclare closed 4 years ago

tdotclare commented 4 years ago

DEEP RESOLVE

This is an ugly but nonetheless functional update to the referenced template resolution; ASTs will now recursively examine ALL Syntax objects during loading and resolution to inline templates no matter how deeply buried.

I used tons of inouts on associated value Enums, don't @ me. This is not ideal in terms of code beauty but it does what it purports to.

Resolves #50

tanner0101 commented 4 years ago

These changes are now available in 1.0.0-rc.1.8