Open in app
Gajus Kuizinas
6.8K Followers
About

Sign in

6.8K Followers
About
Open in app

The client asks “id” and “__typename” for all objects

Cool thing! Kudos for building it.
2
2

Nuutti Kotivuori

Gajus Kuizinas

Gajus Kuizinas

Feb 16, 2018·1 min read

Apollo client does this by default (asking __typename). You need to include id yourself. This is documented in the project GitHub page.

Written by

Gajus Kuizinas

Software architect, startup adviser. Editor of https://medium.com/applaudience. Founder of https://go2cinema.com.

More from Gajus Kuizinas

Software architect, startup adviser. Editor of https://medium.com/applaudience. Founder of https://go2cinema.com.

More From Medium

Onboarding email with 80% response rate

Gajus Kuizinas

Ensuring healthy Node.js program using watchdog timer

Gajus Kuizinas in Level Up Coding

Using HTTP proxy with Puppeteer

Gajus Kuizinas in The Startup

Lessons learned scaling PostgreSQL database to 1.2bn records/ month

Gajus Kuizinas

Dynamically generating SQL queries using Node.js

Gajus Kuizinas in JavaScript In Plain English

Pre-loading cache

Gajus Kuizinas

A declarative way to cache PostgreSQL queries using Node.js

Gajus Kuizinas in The Startup

Ultimate guide to concurrent logging in Node.js

Gajus Kuizinas in ITNEXT

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store