[BUG] KV deserialization broke between worker
0.0.13
and 0.0.17
(worker-kv
0.5
and 0.6
)
#356
Open
1 task done
worker
0.0.13
and 0.0.17
(worker-kv
0.5
and 0.6
)
#356
Is there an existing issue for this?
What version of
workers-rs
are you using?0.0.17
What version of
wrangler
are you using?3.2.0
Describe the bug
The project at https://github.com/u32i64/signalupdates-bot/tree/dcc4abc965913174bc0480b56e67ff035f62426f compiles and deploys successfully, however trying to run it causes the following error when reading state from KV that looks like this:
I suspect the issue is with the deserialization of the
Language
struct.I tried setting
try_from = "String"
and providing a corresponding impl, that did not fix the issue.The "solution" was downgrading
worker-kv
and then downgradingworker
until the project builds (awaitlink/signalupdates-bot@d46e6a4). After that the project deploys and deserializes the state successfully.Considering the downgrade affected
serde-wasm-bindgen
, could be that the issue is in https://github.com/cloudflare/serde-wasm-bindgen.Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered: