Skip to content

The description for GraphQLInt is incorrect #156

Closed
@MrOrz

Description

@MrOrz

The current description on GraphQLInt, as depicted here, says:

The Int scalar type represents non-fractional signed whole numeric
values. Int can represent values between -(2^53 - 1) and 2^53 - 1 since
represented in JSON as double-precision floating point numbers specified
by IEEE 754.

However, the current implementation complies to GraphQL spec, which confines GraphQLInt to between -2^-31 and 2^31-1.

If we all agree that the description is incorrect and should be updated, I can submit a pull request to update the descriptions to reflect that.

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