Skip to content

allow Coercing.parseLiteral to return null (remove @NonNull annotation) #2904

@sgerke-1L

Description

@sgerke-1L

Coercing.parseLiteral is declared to return a @NonNull value.

However, a coercing may want to return null for the NullValue. See for example the ObjectScalar implementation in https://github.com/graphql-java/graphql-java-extended-scalars

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions