biscuit-auth / biscuit-wasm

WebAssembly wrapper for Biscuit authorization tokens
Apache License 2.0
24 stars 10 forks source link

Add support for sets and byte arrays in params injection #30

Closed divarvel closed 1 year ago

divarvel commented 1 year ago

i expected byte arrays to be handled in visit_bytes and friends, but it seems wasm-bindgen-serde handles them directly, so i had to use a wrapper object like for dates. It might be possible to do better, but i'm not familiar enough with serde to be sure.

Fixes #20