Netflix / dgs-framework

GraphQL for Java with Spring Boot made easy.
https://netflix.github.io/dgs
Apache License 2.0
3.06k stars 295 forks source link

Add flag for collecting metadata information for native image #1891

Closed AyushChaubey closed 5 months ago

AyushChaubey commented 5 months ago

Pull Request type

Changes in this PR

We are trying to build a GraalVM native image using Spring native image support. When we add the DGS micrometer dependency, the native image build process fails complaining about missing parameter names in the compiled classes, which are needed for constructor binding to work correctly in native images.

This PR adds the required flag to the Gradle task.

Please see the detailed discussion here.