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: Unknown media type for suffix: .graphql #10991

Closed
gastaldi opened this issue Jul 27, 2020 · 1 comment · Fixed by #11050
Closed

Qute: Unknown media type for suffix: .graphql #10991

gastaldi opened this issue Jul 27, 2020 · 1 comment · Fixed by #11050
Assignees
Labels
area/qute The template engine kind/enhancement New feature or request
Milestone

Comments

@gastaldi
Copy link
Contributor

Description
I am using .graphql files to produce valid GraphQL content from Qute templates (see the .txt files in https://github.com/quarkusio/quarkus-backports/tree/master/src/main/resources/templates/GitHubService). If I set their suffix to .graphql, Qute still finds them and parses correctly but the following logging message keeps appearing in the logs:

2020-07-27 09:35:38,530 WARN  [io.qua.qut.run.TemplateProducer] (Quarkus Main Thread) Unknown media type for suffix: .graphql

Implementation ideas
Make the log a debug statement or have some way to specify custom content types

@gastaldi gastaldi added kind/enhancement New feature or request area/qute The template engine labels Jul 27, 2020
@quarkusbot
Copy link

/cc @mkouba

@mkouba mkouba self-assigned this Jul 28, 2020
@mkouba mkouba added this to the 1.7.0 - master milestone Jul 28, 2020
mkouba added a commit to mkouba/quarkus that referenced this issue Jul 29, 2020
- add config property for additional mappings
- resolves quarkusio#10991
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.

3 participants