-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Does not appear to support mixed case template identifiers? #38
Comments
You are having the same issue than #33 So I need to fix the documentation, put some warnings around, because obviously, this is not enough. |
… case sensitive .NET properties/members (#38)
I have updated the documentation, front readme, there are now more than 6 duplicated notices about this behavior. |
I just spent an hour on this problem because after looking at the very simple However, before even trying Scriban, I did scan through the rest of the docs and somewhere I saw a warning about something about a Moving on... now I'm just wondering - what is even the point of renaming members and why is that the default behavior? It's just an extremely counter-intuitive default to have in my opinion. Also, I'd like to see a feature to just disable it everywhere by default without having to modify every call to |
This template:
With this code:
Renders:
Is this deliberate?
It appears that any identifiers with MixedCase are not rendered into templates?
I can't see anything specific about this in https://github.com/lunet-io/scriban/blob/master/doc/language.md, the closest I can see is:
Which seems to suggest this is a bug?
The text was updated successfully, but these errors were encountered: