Re:Relay Modern: Simpler, faster, more extensible
by pducks32 on Tuesday April 18, 2017 @05:09PM
(#14142948)
Facebook has said that they never remove a property from their databases which seemed nuts to me but with Relay and GraphQL it makes a lot of sense. Why have the need for versioning when the client can request whatever they need.
[ Parent
| on HN ]
Re:Relay Modern: Simpler, faster, more extensible
by leebyron on Tuesday April 18, 2017 @07:34PM
(#14144068)
Hi, Lee from the GraphQL/Relay team.
To clarify a bit: we've removed fields from and changed our database schema repeatedly over the years. In fact we've migrated between entire database technologies multiple times over.
What we haven't done is remove fields from our GraphQL API when those fields are still in use by shipped iOS, Android, or web apps.
GraphQL gives us a layer of abstraction to create consistency from the point of view of client apps while allowing iteration of backend services.
Re:Relay Modern: Simpler, faster, more extensible
by pducks32 on Sunday April 23, 2017 @06:16PM
(#14180721)
Oh hey thanks for the reply. I think I misunderstood before. But what you are saying is what I meant to say. That GraphQL is fantastic in that it gives a layer of abstraction away from versions apis with different endpoints.