Skip to content

Misleading docs for Java Primitives #105

Open
@dan-f

Description

@dan-f

Describe the bug

I lost some time today debugging an issue where it seemed that the GraphQLBigDecimal scalar was not working. In fact, it turned out that the name of the scalar needed to be BigDecimal, not GraphQLBigDecimal.

The docs over here directly suggest that we should be naming these scalar GraphQLBigDecimal, which caused runtime errors for me.

To Reproduce

I reproduced this on the 19.1 release, but based on the current code, I'm assuming the bug is still present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions