Stephen Wicklund

Results 213 comments of Stephen Wicklund

I tried updating from Rust 1.59 to Rust 1.60.0-beta.3 (as per a comment on the Discord saying 1.59 had incremental-compilation broken), but the 4.5 second cargo-check cost from the `SimpleObject`...

> Haha, I think the only way is to upgrade the computer. 😂 Never give up! lol I found a way to reduce that 6.1s down to 3.5s. The trick?...

I just realized something: the execution of the `Object` and `SimpleObject` macros maybe _isn't even necessary_ at `cargo check` time, ie. in the VSCode IDE. It is needed during your...

It works! My crazy idea to have an "outer layer" macro that strips out all the `async-graphql` macros (when `cargo check` is running in rust-analyzer) actually works! (this maybe is...

@clemens-msupply Rust-analyzer has a function that expands a given macro into its final code-form: click on a macro-usage in your source, then run the `Rust Analyzer: Expand macro recursively` command....

So today I thought: > If I can use higher-level macros to strip out async-graphql's macro during cargo-check, why can't I do the same thing for other slow macros like...

> Did you use `tokio::select!` to receive messages from `async_graphQL:: HTTP::WebSocket` stream? Well, I am not interacting with `async-graphql`'s WebSocket struct directly, so I guess it depends on what the...

Okay, I will try to make a small reproduction demo at some point. (Thank you for trying, even despite my repro-demo laziness. 😅)

Ah nice, thanks for the starter. (I might use that and try to reproduce -- or alternately, I might start from my main project, and just keep cutting huge chunks...

Agreed. This would be nice for having the "target=_blank" only be applied for external links.