denoland/celld

Public

`serializeAttachment` doesn't support Date, Map etc

BU

On Cloudflare `serializeAttachment` accepts anything that can be structured cloned, but on `celld`, `JSON.stringify` and `JSON.parse` are used instead, which breaks objects that would rather work in Cloudflare.

  1. MA

    Thanks @buzinas. `serializeAttachment` now uses structured clone instead of JSON, so a `Date` comes back a `Date` and a `Map` a `Map`. This is fixed internally and will be available publicly on the next release.

  2. magurotunaclosed3 months ago on GitHub

  3. buzinasmentioned3 months ago on GitHub

  4. buzinassubscribed3 months ago on GitHub