Skip to content

Conversation

@vojtapol
Copy link
Member

Resolves #294 and fixes #310

@oliemansm I apologize, the previous PR contained an error.

In case the argument was omitted the value was null and it was passed to Jackson deserializer. The deserializer converts null to Optional.empty() thus defeating the purpose of the PR.

This fix instead bypasses Jackson completely when the value is null and uses Jackson only if the value was actually provided.

@oliemansm oliemansm merged commit b24fc4c into graphql-java-kickstart:master Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Absence of Optional arguments are represented with Optional.empty() instead of null

2 participants