HarperFast / HarperFast/harper
CBOR can't serialize blobs
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 10
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 200
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.