Jonathan Chan Kwan Yin

Results 168 issues of Jonathan Chan Kwan Yin

When an error is returned, kubewebhook returns error 500 with the JSON-encoded AdmissionReview response object. However, Kubernetes doesn't actually decode this response body, it just displays an error like this...

I tried using serenity with the web flow login, and I have facing these problems: - A new `reqwest::Client` has to be created for each session, which is not optimal...

feature-request
http

## Checklist * [x] I've added tests for all code changes and additions (where applicable) * I did not add any new features, so demo/book/docs do not need updating ##...

I would like to create an internal method that wraps legion, but since many of the bounds used internally (such as `KnownLength`, `Aos`, etc.) are private, most things I am...

Currently we have the unstable `Vec::drain_filter`: ```rust pub fn drain_filter(&mut self, filter: F) -> DrainFilter

T-libs-api

**Describe the bug** A clear and concise description of what the bug is. I accidentally changed the type of `$queries` for `executeSelectRaw` from `list` to `array{list}`. The query was serialized...

bug

### The problem It is common to need to generate SQL queries dynamically. This matters when there is a dynamic number of arguments. There are four common use patterns: ```sql...

enhancement

Queries that do not change dynamically (basically all queries without `list:` parameters) can be prepared into a `mysqli_stmt`/`Sqlite3Stmt` in advance. This reduces the CPU load and roundtrip time.

enhancement

Currently, all parameters except MySQL strings are formatted on the main thread and interpolated into the query. This is dangerous as it increases the risk of SQL injection attacks. Although...

enhancement

libasynql attempts to fix "reasonable" types for column entries, but "reasonable" is still not explicit and should be documented.

help wanted