influxdata / influxdata/pbjson
`serde_json::Value::Null` get deserialized as `Value {kind: None}`
Open
- Dominant language
- Rust
- Stars
- 116
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
It should rather be `Value {kind: Some(value::Kind::NullValue(0)) }`
Contributor guide
Research direction
Start by locating the serde deserialization handling for serde_json::Value::Null in the Rust implementation generated for prost types. Reproduce the issue and verify that Null yields Value {kind: Some(value::Kind::NullValue(0))} rather than Value {kind: None}; add or update a focused regression test if the relevant test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100