Timo Stamm

Results 302 comments of Timo Stamm

Do you mean that the plugin becomes less important because it will be possible to use [@bufbuild/protoc-gen-es](https://www.npmjs.com/package/@bufbuild/protoc-gen-es) generated descriptors? For example: ```ts import { ElizaService } from "./gen/eliza_pb.ts"; useQuery(ElizaService.method.say); ```...

Hey Joe, we'll update the function in v2, and we're actively working on v2, so it shouldn't be too long 🙂 The main reason to cut a v2 is to...

https://github.com/connectrpc/connect-query-es/pull/416 adds a function to create message keys. It returns plain, stable, JSON serializable objects. If we use it to create query keys, it should solve this issue, and we...

Query keys are a core primitive, and I think we should make sure that they work as well as possible (also see #418) before we add more features. > a...

This is solved by #441 in the upcoming version 2. We'll get a pre-release out as soon as possible.

I don't think TanStack's `QueryClient.setQueryData` - which we are using here - can infer data type from the key type. To enforce matching key and value, we'd have to provide...

Hi Kamal, Connect GET uses the following query parameters: - `message`: The request message, typically JSON or base64-encoded binary. - `base64=1`: Tells whether the `message` is base-64 encoded. - `encoding`:...

Thanks for the issue! In general, invalidating queries (triggering a refresh) instead of manipulating the cache is preferable because it's so simple and reliable (for example, you'll never forget to...

> Since our mutation APIs like Create, Update return the latest object, I like to optimistically update the cache I'm not sure I'd call it an anti-pattern, just that I...