influxdata / influxdata/pbjson

`serde_json::Value::Null` get deserialized as `Value {kind: None}`

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.