Spring GraphQL and Spring Native

1 · Josh Long · Dec. 18, 2021, midnight
I wanted to make Spring GraphQL and Spring Native work well together. It's pretty easy to get the absolute basic application working. Go to the Spring Initializr and generate a new application usign Spring Webflux an Spring Native. Spring GraphQL works with both the Servlet API (and something like Apache Tomcat) and the reactive, non-blocking Spring Webflux webstack. I obviously quite prefer anything reactive, so I chose that. The next bit's not so easy: you need to add the dependency to the bui...