4 ms·
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 th
by pducks32 9y ago
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.
- leebyron 9y agoHi, 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.
- pducks32 9y agoOh 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.