Scott Trinh

Results 319 comments of Scott Trinh

Implemented in #9111 Thanks for the contribution!

> But for project where you only got one client; could you find a way to globally define the client and then just use run()? The `client` instance itself is...

Ahh, yes. I think this is adding evidence to a pattern that I'm already thinking about where you configure your gel client in something like a `gel.config.ts` file and the...

@jackfischer Can you share the `module` and `moduleResolution` values you use in your tsconfig.json, and which version of TypeScript? We need to do a big remodel of our emitted code...

I'm 100% for good optimizations that improve a large number of queries easily, so 👍 if this is one of those cases. I think we need to find a good...

Yeah, although to be fair to the UI, it isn't going to rewrite your query in a more optimal way. I think my same suggestion applies here: when you go...

Doing a little bit of poking around, it looks like we need to do some special casing for MultiRange in a similar way we have for `Range`: - https://github.com/geldata/gel-js/blob/master/packages/generate/src/syntax/range.ts -...

> But many of the use cases of custom-defined types will be creating a type that can satisfy a custom shape in a .select() call. I'm not actually against this...

> How about `__mixins__` Actually after sleeping on it, `__shape__` seems fine even for mixins. "You compose shapes together to get a more complex shape."