Comments (3)
Do you mean that RapidJSON is trying these methods before, or even instead of trying to call Double
when the value happens to not have a decimal?
from cppgraphqlgen.
Yes rapidjson does not know anything about schemat and desired types.
In my case I have defined input type that contains Float. When json serializes big float value it write out 1000000000 instead od 1e9 in JS. Rapidjson treats this value as uint64_t and graphql parser discards it as out of range integer. Even though we wanted a float.
from cppgraphqlgen.
got it, makes sense
from cppgraphqlgen.
Related Issues (20)
- GraphQL query depth limit not working for fragments. HOT 1
- Using anonymous namespaces in headers to encapsulate `using namespace std::literals;` doesn't work
- Generated code produces compiler warning when schema has a field called 'value'
- Access Violation when using optional input values HOT 4
- Enum Client Gen parsing incorrectly HOT 5
- Fragments should generate their own structs
- cppgraphqlgen thread safety questions HOT 3
- Using find_package(cppgraphqlgen) does not implicitly invoke find_package(pegtl)
- Subscription usage HOT 2
- Unable to build shared libraries with Clang for Windows
- Subscription event payloads need to implement stubs for every field HOT 1
- Still got "target was not found." error in the example HOT 1
- Question on CMake schemagen HOT 1
- Suggestion: Clearer schemagen error messages
- Build fail on linux HOT 5
- PEGTL backtracking on field_arguments HOT 1
- Incorrect handling of UnicodeBOM in GraphQL grammar HOT 1
- libgraphqlpeg can't parse float with fractional and exponential parts HOT 2
- Plans for cppgraphqlgen 5.0 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppgraphqlgen.