tursodatabase / libsql-client-rs

libSQL Rust client library can be used to communicate with sqld natively over HTTP protocol with native Rust interface.
MIT License
75 stars 29 forks source link

Fix BLOB serialization with reqwest backend. #20

Closed CathalMullan closed 1 year ago

CathalMullan commented 1 year ago

Manually encode BLOBs as base64. Previously, all BLOBs would be serialized as a null, due to the 'value' lookup failing.

Also needed to decode the BLOB object as part of the query result parsing.

psarna commented 1 year ago

Thanks! We definitely need to double down on libsql-client-rs test coverage