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

GraphQlClient query documents and test documents are missing from native image #575

Closed
bclozel opened this issue Dec 9, 2022 · 0 comments
Assignees
Labels
in: test Issues related to the test module in: web Issues related to web handling type: bug A general bug
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Dec 9, 2022

When using the GraphQlClient with graphQlClient.documentName("project"), the query file is resolved from classpath:graphql-documents/project.graphql and classpath:graphql-documents/project.gql. Similarly, the GraphQlTester when used with graphQlTester.document("project") resolves classpath:graphql-test/project.graphql or classpath:graphql-test/project.gql.

We should ensure that such resource locations are registered as resource metadata in the native image if clients are reachable during the static analysis.

@bclozel bclozel added type: bug A general bug in: web Issues related to web handling in: test Issues related to the test module labels Dec 9, 2022
@bclozel bclozel added this to the 1.1.1 milestone Dec 9, 2022
@bclozel bclozel self-assigned this Dec 9, 2022
@bclozel bclozel closed this as completed in d1300f5 Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues related to the test module in: web Issues related to web handling type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant