You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the time being, I have forked inja and made all members protected so that I can subclass Environment in my own code, but it would be nice to not have to maintain that fork... unless I'm missing another way of effecting the same goal (aside from storing the settings alongside the environment, which seems duplicative and rickety).
If I'm not wrong about that, could either:
the *_config objects be made protected so subclasses could access them and provide their own getters?
*_config field getters be added to Environment?
ETA: my realization I forked inja some time ago to change the member visibility
The text was updated successfully, but these errors were encountered:
In some circumstances it might be useful for
Environment
to provide getters to thelexer_config
, e.g.,For the time being, I have forked
inja
and made all membersprotected
so that I can subclassEnvironment
in my own code, but it would be nice to not have to maintain that fork... unless I'm missing another way of effecting the same goal (aside from storing the settings alongside the environment, which seems duplicative and rickety).If I'm not wrong about that, could either:
*_config
objects be made protected so subclasses could access them and provide their own getters?*_config
field getters be added toEnvironment
?ETA: my realization I forked
inja
some time ago to change the member visibilityThe text was updated successfully, but these errors were encountered: