Browse Source

Text templating; replace camelCase with snake_case for scriban

see https://github.com/abpframework/abp/issues/6188#issuecomment-728094043
pull/6227/head
Yunus Emre Kalkan 5 years ago
committed by GitHub
parent
commit
9ba0c01b0d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/Text-Templating.md

4
docs/en/Text-Templating.md

@ -187,9 +187,9 @@ var result = await _templateRenderer.RenderAsync(
In this case, we haven't created a model class, but created an anonymous object as the model.
### PascalCase vs camelCase
### PascalCase vs snake_case
PascalCase property names (like `UserName`) is used as camelCase (like `userName`) in the templates.
PascalCase property names (like `UserName`) is used as snake_case (like `user_name`) in the templates.
## Localization

Loading…
Cancel
Save