stencilproject / Stencil

Stencil is a simple and powerful template language for Swift.
https://stencil.fuller.li
BSD 2-Clause "Simplified" License
2.33k stars 221 forks source link

Make `render` method public #322

Closed djbe closed 1 year ago

djbe commented 1 year ago

Needed for features like https://github.com/SwiftGen/StencilSwiftKit/pull/111, where the user wants to provide their own Context object (reference) instead of a dictionary.

Reason for this is that the method with dictionary will work on a copy, whereas the Context one will work on a reference, storing the changes.

SwiftGen-Eve commented 1 year ago

Hey 👋 I'm Eve, the friendly bot watching over Stencil 🤖

Thanks a lot for your contribution!


Seems like everything is in order 👍 You did a good job here! 🤝

Generated by :no_entry_sign: Danger