Joe Taber

Results 202 comments of Joe Taber

> It would introspect each query at dev-time and tell typescript what type that is I'm not sure how that would work exactly, but I've observed some existing solutions in...

It appears that [`AddDapperGraphQL`](https://github.com/landmarkhw/Dapper.GraphQL/blob/master/Dapper.GraphQL/Extensions/ServiceCollectionExtensions.cs) is there to help you add your own DI types so that they can be DI'd correctly. It does this via the [`DapperGraphQLOptions`](https://github.com/landmarkhw/Dapper.GraphQL/blob/master/Dapper.GraphQL/DapperGraphQLOptions.cs) class.

I believe this is resolved by #690 for users of sqlexp. Thanks!

How about a multi-pass solution like this: 1. Parse the original file with template parser into an AST 2. Walk the AST to find the byte spans with "special" template...

As far as your first example goes, that's not valid for Go's `html/template` ( https://go.dev/play/p/pehr0IaMZTo ), and even attempting to solve that problem runs straight into the halting problem. In...

That's great! If I'm reading correctly the strategy is to skip minifying syntax elements that contain the template delims, is that right?

You mean like: ```html Foo Foo ```

> we could minify text and attribute values surrounding the inner templates To clarify, you mean that content ~1 token away from a template section is skipped and not minified....

Thank you for clarifying, that all makes sense. I agree that replacing with an identifier could be a bit messy. It might be cleaner if you replace it with a...

> By changing the signature to accept a variadic second parameter we would be able to add this functionality without introducing a breaking change to the API. I like this...