Spring

Spring for GraphQL 2.0.0-M1 released

Spring for GraphQL 2.0 Milestone 1 is released, building upon Spring Framework 7.0 and requiring graphql-java 24.0 (potentially upgrading to 25.0). Kotlin 2.2.0 and Jackson 3.x are now default, with Jackson 2.x fallback support. JSpecify annotations enhance null safety, improving IDE warnings and preventing NullPointerExceptions. New features include flexible input type binding, allowing custom mapping of GraphQL attributes to Java field names. ArgumentValue support enables clearer representation of optional input values in client requests. The DgsGraphQlClient now supports multiple queries within a single request. Future plans include incorporating the new GraphQL over HTTP specification changes. Feedback and enhancement requests are welcomed. The release is available on Spring's repository and Maven Central. Questions can be directed to Stack Overflow using the spring-graphql tag.
favicon
spring.io
spring.io
Create attached notes ...