Comments (1)
I explained our reasoning here: dotansimha/graphql-yoga#303 (comment)
It boils down to a difference in design objective: we sought to be totally lossless in our format, so as to minimize potential for unexpected bugs or surprises, whereas your format leans upon conventions around GraphQL payload normalization to function.
Also worth noting: the name graphql-crunch
is a misnomer — this works for any JSON payload. We chose to call it graphql-crunch
because it's easier to market something when it sounds tailored to a specific problem domain.
from graphql-crunch.
Related Issues (16)
- Further Crunching On Key Level HOT 8
- Hi i am facing problem in apolloclient config HOT 4
- Wrong response if response in date string
- Not compiled to es5 HOT 1
- Add TypeScript definitions HOT 2
- Dynamic require defined at line 5; not supported by Metro HOT 2
- [Feature-Request][How-To] Use with Apollo-Server-Express
- Explanation of the v2 `encode` function HOT 1
- Unexpected efficiency results with crunching HOT 1
- Any plans to provide TypeScript declarations? HOT 2
- [Question] Can this be used in normal JSON minify, like Restful json response? HOT 1
- formatResponse(response, options) field options.context.request is undefined HOT 1
- How do you use version 2 of api with apollo? HOT 1
- Publish new version (2.1.4) with Typescript types to npm and create a new release
- Integrate directly into resolvers
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 graphql-crunch.