Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qute - scan the tempates located in the extension runtime modules #21170

Closed
mkouba opened this issue Nov 3, 2021 · 0 comments · Fixed by #21186
Closed

Qute - scan the tempates located in the extension runtime modules #21170

mkouba opened this issue Nov 3, 2021 · 0 comments · Fixed by #21186
Assignees
Labels
area/qute The template engine kind/enhancement New feature or request
Milestone

Comments

@mkouba
Copy link
Contributor

mkouba commented Nov 3, 2021

Description

An extensions should be able to provide templates in the runtime module. These templates should be validated and accessible at runtime via injection, etc.

Implementation ideas

It should be possible to filter out the runtime modules of extensions via CurateOutcomeBuildItem and io.quarkus.maven.dependency.Dependency.isRuntimeExtensionArtifact() and then make the templates located in the templates directory accessible at runtime.

@mkouba mkouba added the kind/enhancement New feature or request label Nov 3, 2021
@quarkus-bot quarkus-bot bot added the area/qute The template engine label Nov 3, 2021
@mkouba mkouba self-assigned this Nov 3, 2021
@mkouba mkouba added this to the 2.5 - main milestone Nov 3, 2021
mkouba added a commit to mkouba/quarkus that referenced this issue Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qute The template engine kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant