ARK-Builders / ARK-Builders/Shelf-Desktop

JSON files with `null` fields

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Rust
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In any storage containing JSON values, missing title or description should result in an absent field in the JSON. Right now, `null` value is written. If all fields are missing, empty JSON must not be written.

- [ ] JSON objects must not contain `null` fields
- [ ] empty JSON objects must not be persisted

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Rust code that serializes and persists JSON values, then inspect any existing tests for storage behavior. The change is complete when missing title or description fields are omitted and an object with no fields is not persisted; add or update tests to cover both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.