Skip to content

Rewrite scalar coercion to stop depending on deprecated methods #451

Open
@kaqqao

Description

@kaqqao

The entire scalar coercion implementation has to change, because:

a) graphql-java deprecated the methods SPQR is currently using (e.g. parseValue(Object)) and the new signatures cause problems in ValueMapper, which also operates outside of query execution and thus has no access to GraphQLContext

b) SPQR can't reliably tell a Java type is mapped as scalar when deserializing the inputs, so flimsy workarounds like this are needed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions