spring-graphql
spring-graphql copied to clipboard
Ahead Of Time support
Since Spring Framework has been working on AOT and GraalVM Native Image support, we should consider improvements to make this work in time for 1.1.0.
Right now we're identifying several tasks:
- [ ] make sure that the scanning of schema files is supported. This should be taken care of in spring-projects/spring-framework#29163
- [ ] contribute reachability metadata for graphql-java, if any. Ideally, we should contribute them to the community repository.
- [ ] contribute
RuntimeHintsby meta-annotating@SchemaMappingwith@Reflectiveand implementing a customReflectiveProcessor. This should take care of controller method invocation at runtime and Reflection hints on application types. We could consider contributing reflection hints by post-processing schema and datafetchers, but this would probably require an arrangement to advanced for the AOT phase.