Spring for GraphQL 2.0.0-M3 released
I am pleased to announce that the third Spring for GraphQL 2.0 Milestone release is now available.
Nullability support in schema mapping inspection
Our Schema Mapping Inspection feature got a recent upgrade thanks to our work on Null-safety in Spring projects.
If your application is written in Kotlin, or is using Null-safety annotations,
further inspections will be performed. The GraphQL schema can declare nullable types (Book
) and non-nullable types (Book!
).
We can ensure that both the schema and the application are in sync when it comes to nullability information.
- For schema fields, we can check that the relevant
Class
properties andDataFetcher
return types with the same nullability. - For field arguments, we can ensure that
DataFetcher
parameters have the same nullability …