Skip to content

CBOR can't serialize blobs #127

@kriszyp

Description

@kriszyp

Bug Summary

If you request a record with CBOR, with a blob value, it will return an error

Reproduction Repository (if applicable)

No response

Steps to Reproduce

  1. Create a table with a field of type Blob
  2. Insert a record into that table, with a blob
  3. Do a GET with Accept: application/cbor

Expected Behavior

Return the record with the blob serialized as binary data or as a string (depending on the blob type). Maybe. Or some indication that the blob can't be included.

Actual Behavior

Returns an error:
Error: Iterable/blob should be serialized as iterator

Platform

No response

Console Errors

No response

Screenshots or Videos

No response

Additional Context

No response

Are you planning to fix this issue?

Maybe, depending on complexity

First-time contributor support

  • I'm new to contributing and would appreciate guidance on the process
  • I'd like help understanding the project structure
  • I need assistance with setting up the development environment
  • I'm comfortable contributing, but new to this project specifically

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions