graphql/graphql-js
View on GitHub ↗ ★ 20,344 TypeScript
A reference implementation of GraphQL for JavaScript
27 mentions on Hacker News by 24 people: 1 story, 26 comments · first 2015-07-02 · latest 2021-10-12
20082026
-
…field" while unset means "don't change it". There is a very good discussion on this topic here, https://github.com/graphql/graphql-js/issues/133 , which goes into the rationale behind it, how it's supported in languages that do NOT…
comment by hn_throwaway_99 · 2021-10-12 · in Tricks I wish I knew when I learned TypeScript -
…the property to null (which usually means 'delete')". These are very different things. This thread, https://github.com/graphql/graphql-js/issues/133 , is a good overview.
comment by hn_throwaway_99 · 2020-11-01 · in Intent to stop using 'null' in my JS code -
A bunch of GraphQL projects are quite well-tested e.g. the reference impl at https://github.com/graphql/graphql-js
comment by rapnie · 2020-07-07 · in Against Testing -
From the thread. 'Slow response times for large documents' https://github.com/graphql/graphql-js/issues/723#issuecommen... It seems that the graphql library is performing a lot of validation, and that's slowing things down. I expect…
comment by staticassertion · 2020-01-01 · in The dark side of GraphQL: performance -
These codebases will meet your requirements - Zeit: https://github.com/zeit Facebook: https://github.com/graphql/graphql-js , https://github.com/graphql/dataloader Misc: https://github.com/apollographql/apollo-server ,…
comment by e1g · 2019-12-10 · in Ask HN: Example of good Node.js project? -
…used for backend. If you look at a lot of Node libraries, they use ES6 modules in their [docs]( https://github.com/graphql/graphql-js ). While you could use mjs for this, it's still experimental. I do think create-react-app is a good…
comment by _hardwaregeek · 2019-01-07 · in The melting pot of JavaScript (2017) -
…name though because it's named the same as the official reference implementation of the backend: https://github.com/graphql/graphql-js .
comment by spsoto · 2018-10-14 · in Graphql.js: A Simple and Isomorphic GraphQL Client for JavaScript -
No, largely because it can make query performance harder to evaluate: https://github.com/graphql/graphql-js/issues/855
comment by Scaevolus · 2018-10-04 · in SQL as an API language -
…tag pages, user generated content). As far as GraphQL we use Facebook's reference implementation ( https://github.com/graphql/graphql-js ). The challenge with TakeShape is that we allow users to define their own content types which in turn…
comment by asprouse · 2018-09-19 · in Show HN: TakeShape, a Headless GraphQL CMS and SSG -
…it down to other handlers), which is so great. You can make a GraphQL endpoint quite fast with https://github.com/graphql/graphql-js
comment by 11235813213455 · 2018-06-09 · in Living APIs and the Case for GraphQL -
Facebook switched it over to MIT last week (along with React): https://github.com/graphql/graphql-js/blob/master/LICENSE
comment by turdnagel · 2017-10-02 · in Hacker News Clone Using GraphQL and React -
…I count: * ReasonML - https://github.com/facebook/reason/blob/master/PATENTS.txt * GraphQL - https://github.com/graphql/graphql-js/blob/master/PATENTS * react-native - https://github.com/facebook/react-native/blob/master/PATENTS * PlanOut…
comment by cies · 2017-09-22 · in Relicensing React, Jest, Flow, and Immutable.js -
What? They haven't... https://github.com/graphql/graphql-js/blob/master/PATENTS
comment by worldsayshi · 2017-09-20 · in GraphQL Patent Infringement Issues -
…noted that GraphQL is covered by the same BSD + Patents licence as React.js and others. [1] [1] - https://github.com/graphql/graphql-js/blob/master/PATENTS
comment by Mayzie · 2017-08-23 · in Kick Start a JavaScript GraphQL API with Apollo-Server, Dataloader and Knex -
…Also a common pattern is wrapping an existing REST API with a GraphQL proxy: https://github.com/graphql/graphql-js
comment by krschultz · 2017-04-18 · in Relay Modern: Simpler, faster, more extensible -
…the same number of stars/contributors/contributors with more then 100 lines/time since release https://github.com/graphql/graphql-js/graphs/contributors?fr... :) So by your logic, i could say: "If this considered a real world…
comment by ruslan_talpa · 2017-03-26 · in PostgREST – A fully RESTful API from any existing PostgreSQL database -
…part is the GraphQL/backend server. You can roll your sleeves and do it yourself starting form this https://github.com/graphql/graphql-js Might also try https://github.com/calebmer/postgraphql (PostgREST inspired, open source but no auth…
comment by ruslan_talpa · 2016-08-17 · in Ask HN: What is a good React stack? -
…was put in to making the code well-documented and easy to follow for people new to the project. [1] https://github.com/graphql/graphql-js [2] https://facebook.github.io/graphql/
comment by estreeper · 2016-05-01 · in Ask HN: What are examples of GitHub repositories with high code quality? -
…but still very approachable JS example check out the lexer and parser in the GraphQL code base ( https://github.com/graphql/graphql-js )
comment by linkmotif · 2016-03-31 · in Super Tiny Compiler -
…if the library provides any way to solve this yet. [1] https://github.com/rmosolgo/graphql-ruby [2] https://github.com/graphql/graphql-js/tree/master/src/__test...
comment by lobster_johnson · 2015-10-08 · in Thinking in GraphQL -
this is official reference lib - https://github.com/graphql/graphql-js you need to implement resolve method to map properties to your backend(s) yes, it is not drop in, but using any node.js http request library should do the trick. also,…
comment by hippich · 2015-10-08 · in Thinking in GraphQL -
https://github.com/graphql/graphql-js Just implement resolve.
comment by verbin217 · 2015-10-08 · in Thinking in GraphQL -
…in JSON, which is why we have a different syntax. We've got a reference lexer and parser in JS at https://github.com/graphql/graphql-js/tree/master/src/langua... , and we have a parser in C++ with C and C++ APIs (that can be used to build…
comment by dschafer · 2015-09-14 · in GraphQL: A data query language -
…is a GraphQL schema that is backed by the swapi.co API. The examples at https://github.com/graphql/graphql-js/blob/master/src/__test... are backed by in-memory JSON objects. At Facebook, we have GraphQL types backed by data stored
comment by dschafer · 2015-09-14 · in GraphQL: A data query language -
…to this! One question; it appears as though the types and schema are passed with every request (eg https://github.com/graphql/graphql-js/blob/master/src/graphq... ) -- I assume part of the reason for this is versioning/sharing the schema,…
comment by barakm · 2015-07-02 · in GraphQL Working Draft -
There's a JS server provided: https://github.com/graphql/graphql-js .
comment by spicyj · 2015-07-02 · in GraphQL Working Draft -
▲ 63
GraphQL.js Technical Previewstory by insin · 2015-07-02 · 2 comments