ActiveCampaign / mustachio

Lightweight, powerful, flavorful, template engine.
MIT License
207 stars 17 forks source link

Add support for uint, ushort, and ulong #21

Closed admedina closed 5 years ago

admedina commented 5 years ago

I am enjoying mustachio a lot! I am hoping that support for ushort, uint, and ulong could be added in the near future. Currently, those datatypes are not considered valid values. Could it have something to do with the _printableTypes in ContextObject.cs?

vladsandu commented 5 years ago

Hey @admedina. It's awesome to hear that you enjoy Mustachio! Regarding your question, you are correct. They are not considered valid values because they are not listed in the _printableTypes HashSet in ContextObject.cs. I have added a PR with those changes and we will get that reviewed soon.

admedina commented 5 years ago

Thank you @vladsandu!

vladsandu commented 5 years ago

Closed by PR https://github.com/wildbit/mustachio/pull/22. Merged and version 2.1.0 released on NuGet.