Fluid icon indicating copy to clipboard operation
Fluid copied to clipboard

API to preprocess template names

Open s2b opened this issue 1 year ago • 1 comments

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 avatar Jul 25 '24 10:07 s2b

Related: #371

s2b avatar Aug 11 '24 08:08 s2b