Skip to content

A mechansim is needed to specify "Int" types in the schema as Int32.  #3433

@scottasoutherland

Description

@scottasoutherland

Use case

The graphql documentation https://graphql.org/learn/schema/ defines Int as A signed 32‐bit integer. . We recently ran into a problem where we sent a value that exceed the 32 bit maximum on our server which caused an error. Our server expects 32bit integers.

Describe the solution you'd like

An option added to ApolloCodegenConfiguration.OutputOptions which specifies whether Int should be explicitly Int32, Int64, or Int (variable based on platform).

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegenIssues related to or arising from code generationfeatureNew addition or enhancement to existing solutionsgood first issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions