-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added StringComparer
property to TemplateContext
#681
Conversation
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>
StringComparer
property to TemplateContext
and TemplateOptions
StringComparer
property to TemplateOptions
StringComparer
property to TemplateOptions
StringComparer
property to TemplateContext
@gumbarros check my last commit |
LGTM |
@sebastienros anything else to add to this? |
Thanks for a quick fix :) |
Any plans to merge this 👀? |
I'm going to be out for 20 days next week and won't be able to make any changes for this PR. I would also like to use this feature this week if possible. |
@sebastienros any feedback on this or shall I merge? |
This is too intrusive (in the ctor). Can this And the new property should be named |
if you can't do the changes @hishamco or myself should be able to do it. |
To be honest it was as it's seen in b99e0f5 If you like how it was I will revert the latest changes considering the name that you suggested |
Did I actually ask the opposite, or was it done on your own thoughts? |
It added as property at the beginning but I saw the property appears twice in different places that's why I suggested to pass the values through constructor |
In you case that's what you mean, it's pretty common to see the properties duplicated and cloned from |
I see if the linked commit is fine for you I will revert the latest changes then merge unless you need to add something else |
Hi guys, any news on merging this 👀? |
Updated it. Should be simpler, and it helped me realize that this property can't be changed dynamically as it is used by an inner collection. In Fluid 3.0 we might want to use the same comparer for both internal properties and model properties. (note for myself) |
When will this PR be released? I've been waiting for so long. |
@nguyenngocanhpro do you want to submit a PR for GetValueAsync? I can ship it right after that. |
This PR allows case insensitivity at templates, making more easy to non-programmers to use variables and functions.