Sheraff / soft-serve-tunes

Self hosted music server on raspberry pi
7 stars 0 forks source link

upgrade tRPC to v10.10: check query invalidation #49

Closed Sheraff closed 1 year ago

Sheraff commented 1 year ago

This PR https://github.com/trpc/trpc/pull/3664 changes how invalidation behaves. We need to make sure cache is still invalidated correctly. (Maybe it's time to use getQueryKey so this doubt doesn't reoccur in the future?)

Sheraff commented 1 year ago

tRPC request / response format seems standardized (https://trpc.io/docs/rpc) so I don't think we need to worry about it changing without at least some warning in the release notes.