Skip to content

Statement about truncating fractional values wrong? #312

Closed
@andimarek

Description

@andimarek

In the section about scalars: (https://github.com/facebook/graphql/blob/master/spec/Section%203%20--%20Type%20System.md#scalars)

there is the following statement:

Since the server must not break the contract by yielding a non-integer, the server should truncate the fractional value and only yield the integer value.

This seems contradictory to this Issue: graphql/graphql-js#827, where it was cleared that fractions should not be truncated.

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