MySQL async - #72
Conversation
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
|
Oh dear that didn't go very well. STICK TO RUST IVAN |
|
The error tells me to Maybe I just need to revert componentize-go, because I am not sure how to rev it...! |
|
Thanks for working on this, @itowlson! The patch looks reasonable to me. I'll clone the branch and see if I can debug the build/dep issues. |
|
I started looking into this as well and found that we have a missing package in |
...and run it! Signed-off-by: Joel Dice <joel.dice@akamai.com>
|
The root issue (which took some digging to find) is that Once that merges, I'll make a new release of that project and then update this PR. |
Yeah, that's annoying, but it's broken on |
This adds a previously-missing implementation of the `exports/spin_up_http_trigger_4_0_0/export_wasi_http_0_3_0_rc_2026_03_15_handler` package to make `go` happy. Signed-off-by: Joel Dice <joel.dice@akamai.com>
|
Just pushed a fix for the |
This includes bytecodealliance/go-pkg#8, which allows the unit tests to run. Signed-off-by: Joel Dice <joel.dice@akamai.com>
|
@itowlson I think this is ready to merge if my changes look okay to you. |
|
Thanks for salvaging this! |
Fixes #71.
The first commit is updating the bindings and brought in a lot of noise - I am wondering if I should have installed an older version of componentize-go perhaps? The second commit is the actual asyncifying. This is very directly modelled on the PostgreSQL, if by "modelled" you mean "copied and pasted."
I needed to
go mod tidythe MySQL example to test it. Is there a convenient way to go mod tidy all the others? (or should I do the aforementioned "go back to an older version of componentize-go" and maybe make the problem go away)