Wezter
Migrating to V10 from V9
I didn't create any of this, I'm just trying to bump a starter someone else created.
https://github.com/chamatt/create-kaol-app
22 replies
Migrating to V10 from V9
ah thanks a lot for the input, I'll hopefully have time to look more at it this weekend.
It kinda feels like I've misunderstood how I should update the 'me' query in the authRouter.
Before it was a .merge and then a .query and now I only have .query there.
https://github.com/chamatt/create-kaol-app/pull/7/files#diff-1737fd1080cbf94128d1b86db71d32f715ff7b0909d374e6de1d71f7a596e3cc
22 replies
Mobile app with tRPC
Would you guys say this is a good way to handle it?
- Send a x-app-version header with all requests from the mobile app.
- If there are any breaking changes in the backend a new version of the API that has breaking changes is created.
- The backend will return the old version of the endpoint unless the x-app-version is a version where the fixes have been applied in the mobile app.
- Once the new mobile app is live in production either the feature which is affected would be feature toggled or the whole app would be killswitched telling the users to update the app.
4 replies