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
I'm using Pebble templates to generate the request bodies I'm using for my calls, now one of the main features of Pebble is that it supports inheritance but I can't get it to work. I have a parent template search-filter.peb
do I need to do something else to get this inheritance to work? Or refer to the path in a different way? All templates are just located under the /main/resources folder.
The text was updated successfully, but these errors were encountered:
Motivation:
We always use a StringLoader to load templates, meaning that inheritance is not available.
Modifications:
* Modifify Resource implementations to keep track of classpath and filesystem resources.
* Have PebbleFileBody use the default Pebble Loader
Result:
Pebble templates inheritance is supported
From mailing list:
I'm using Pebble templates to generate the request bodies I'm using for my calls, now one of the main features of Pebble is that it supports inheritance but I can't get it to work. I have a parent template
search-filter.peb
and a child template
and I import this into my call like this:
do I need to do something else to get this inheritance to work? Or refer to the path in a different way? All templates are just located under the /main/resources folder.
The text was updated successfully, but these errors were encountered: