You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2021/02/09 00:10:00 UTC
[jira] [Updated] (FREEMARKER-174) [freemarker-generator] Don't
expose "DataSources" in the FreeMarker context
[ https://issues.apache.org/jira/browse/FREEMARKER-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siegfried Goeschl updated FREEMARKER-174:
-----------------------------------------
Description:
Initially we exposed "DataSources" class directly in the context since it provides a couple of convenience methods when slicing through files.
Later the "DataSources" were handled as a map (using an ObjectWrapper) - from what I see the other "DataSources" methods can't be used any longer so it does't make sense to have a "DataSources" together with a custom ObjectWrapper.
was:
Initially we exposed "DataSources" class directly in the context since it provides a couple of convenience methods when slicing through files.
Later the "DataSources" were handled as a map (using an ObjectWrapper) - from what I see the other "DataSources" can't be used any longer so it does't make sense to have a "DataSources" together with a custom ObjectWrapper.
> [freemarker-generator] Don't expose "DataSources" in the FreeMarker context
> ---------------------------------------------------------------------------
>
> Key: FREEMARKER-174
> URL: https://issues.apache.org/jira/browse/FREEMARKER-174
> Project: Apache Freemarker
> Issue Type: Improvement
> Reporter: Siegfried Goeschl
> Assignee: Siegfried Goeschl
> Priority: Major
>
> Initially we exposed "DataSources" class directly in the context since it provides a couple of convenience methods when slicing through files.
> Later the "DataSources" were handled as a map (using an ObjectWrapper) - from what I see the other "DataSources" methods can't be used any longer so it does't make sense to have a "DataSources" together with a custom ObjectWrapper.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)