ActiveCampaign / mustachio

Lightweight, powerful, flavorful, template engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for uint, ushort, and ulong

admedina opened this issue · comments

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?

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.

Thank you @vladsandu!

Closed by PR #22. Merged and version 2.1.0 released on NuGet.