Hacker News new | past | comments | ask | show | jobs | submit login

Looks great! How is the migration story when schema changes are needed? How do you deal with old clients?



> Looks great! How is the migration story when schema changes are needed?

We have an admin API you can use to write migration scripts. The process is a bit manual though, and a more integrated solution is on the roadmap

> How do you deal with old clients?

Instant treats the the backend the source of truth. If there's an inconsistent cache, we drop the cache and fill it from scratch. We tend to write code that's backwards compatible, and suggest the GraphQL ethos: make sure when changing schema that active clients won't break


Asking the real questions.

Also, how does backward compatibility work? An offline first app might use a stale version of the code sometimes right?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: