HNHacker News
TopNewBestAskShowJobs

patelpankaj

130 karma · joined September 26, 2014

Frontend Engineer

Blogging and Photographing experiences out of curiosity.

submissionscomments
patelpankaj··on Introduction and Quick Guide to GraphQL for BackEnd and FrontEnd
The return fields specify the data you want on creation of resource. In REST, the server used to return either full data or the [201](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201)

Specifying the fields on mutation means data is inserted/updated and the query on the new data has following changes, and you can select form those changes

patelpankaj··on Introduction and Quick Guide to GraphQL for BackEnd and FrontEnd
that also makes sense; and I guess it's just a matter of use-case and preference.
patelpankaj··on Introduction and Quick Guide to GraphQL for BackEnd and FrontEnd
true, the context param in resolvers are the way to do so
patelpankaj··on Introduction and Quick Guide to GraphQL for BackEnd and FrontEnd
well it is a quick guide. auth is a separate topic. Best way to do it is I guess through context in resolvers
patelpankaj··on Inspector Component: React Inspector done in WebComponents
checkout the demo at https://www.webcomponents.org/element/pankajpatel/inspector-...
← PreviousPage 2 of 2