Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize with maximum precision when converting float to FloatValue (#…
…164) We make use of the float representation algorithm provided by the Python str method, which guarantees maximum precision while keeping the representation as short as possible, additionally removing the superfluous `.0` suffix for integers (same as in GraphQL.js).
- Loading branch information
1 parent
ab26a04
commit f11fcbd
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters