tilelive.serialize() should throw on invalid Tile obj
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 540
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
if you feed `tilelive.serialize()` some poorly formatted Tiles, it sliently skips over them. instead of silently skipping bad stream input, tilellive should probably error or at least warn when you're feeding it bad stuff.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the tilelive.serialize() entry point and reproduce the behavior with a poorly formatted Tile object. Determine the intended error or warning behavior from the existing serialization flow. Done means invalid stream input is no longer silently skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100