graphql-java-annotations
graphql-java-annotations copied to clipboard
Improving GraphQL type handling and upgrading testng
Partial update to entities
The purpose of this PR is to enable updation of selective entity fields. By introducing Optional, it also differentiates null from undefined
Let's assume an entity with 5 fields and the requirement is to update only one field to null. We can set the value of that field to null and omit other fields in a mutation query.
Changelog
- Fixing import issues with
javax.xml.bind.DatatypeConverter - Bump testng version from
6.9.10to7.4.0 - New
GraphQLUndefinedtype - Following improvements in
MethodDataFetcher:- Improved
Nullablehandling usingOptional - Handle
Optionalfield types - Support
RawTypein additional toWrpperType
- Improved
GraphQLInputTestupdated to testOptionalfield types in GraphQL queries