Skip to content
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

API to preprocess template names #938

Open
s2b opened this issue Jul 25, 2024 · 1 comment
Open

API to preprocess template names #938

s2b opened this issue Jul 25, 2024 · 1 comment

Comments

@s2b
Copy link
Contributor

s2b commented Jul 25, 2024

Currently, Fluid preprocesses the supplied template names by requiring the first character of the name to be uppercase. We could introduce an API which allows Fluid users to change this behavior. We might also introduce breaking behavior later on, where we remove the uppercase-requirement from Fluid's standard implementation altogether.

The described API will probably located in the already existing TemplatePaths class and could then be overwritten by Fluid integrations if different behavior is desired (like providing fallbacks from first-character-uppercase to first-character-lowercase).

@s2b
Copy link
Contributor Author

s2b commented Aug 11, 2024

Related: #371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant