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.10
to7.4.0
- New
GraphQLUndefined
type - Following improvements in
MethodDataFetcher
:- Improved
Nullable
handling usingOptional
- Handle
Optional
field types - Support
RawType
in additional toWrpperType
- Improved
-
GraphQLInputTest
updated to testOptional
field types in GraphQL queries