Open fbricon opened 1 year ago
@mkouba is this another instance of synthetic bean usage?
No, {#cached}
is a section registered here: https://github.com/quarkusio/quarkus/blob/main/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/CacheProcessor.java#L13-L21.
In general, any extension or even application code can register a custom section. See also https://quarkus.io/guides/qute-reference#engine-customization.
According to https://quarkus.io/guides/qute-reference#cached-section, if
io.quarkus:quarkus-cache
is in the classpath, qute templates should automatically be able to use a{#cached}
section, with an optionalkey
attribute.Currently, the
#cached
section is being shown with an error@mkouba is this another instance of synthetic bean usage?