NyxCode
NyxCode
For everyone who stumbled upon this issue: the `lalrpop_mod!` macro can accept attributes like this: `lalrpop_mod!(#[allow(clippy::all)] grammar);`
`// @ts-nocheck` does not work, at least for me. It seems like there is absolutely no way to silence these hints. I have reproduced it on [Stackblitz](https://stackblitz.com/edit/sveltejs-kit-template-default-z1neak?file=src/routes/index.svelte). This currently makes...
> In certain cases, it might be desirable to ignore these warnings - for example, if the user made sure that their drivers don't heat up past the overtemperature pre-warning....
Same issue here!
## Syntax for branches and parameters I think we need a slightly different syntax for branches (if/match). > ```sql > ORDER BY > { > match order_by { > OrderBy::Name...
> How about something like > > ```rust > sqlx::query_as!( > User, > r#" > SELECT * > FROM users > WHERE > email = {query} > OR first_name LIKE...
@jplatte Though I'm not sure how nested branches would look like, maybe something like ```rust #order_col = if let Some((column, direction)) = order { "ORDER BY {#column} {#direction}", #direction =...
I'm now at the point where I'm trying to figure out how to integrate this into `query_as!`. Right now, the macro just calls `query_as!` itself, so it's basically just a...
EDIT: I have now made conditional_query_as! expand to `expand_query!` and (hopefully) fully backwards compatible to `query_as!`, which I replaced with the new proc macro. Let's see what the tests say.
#1491 now passes all tests, so it's backwards-compatible as far as the tests can tell. While there is still quite some work to do regarding documentation, you can get an...