jackc / jackc/pgx

zeronull.Date

Open
#1,958 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14.3k
Forks
1.1k
Avg merge
6d 9h
Merged PRs (30d)
11

Description

hi I have problem that `zeronull.Timestamp` is not omitted by json if the value is `NULL` string, the response still returning `{}`, also there is `pgtype.Date` but no `zeronull.Date`.

any help appreciated, thankyou.

Contributor guide

Open the contributing guide

Research direction

Locate the existing zeronull.Timestamp implementation and pgtype.Date definition first. Compare how nullable values are represented and serialized, then identify the tests covering JSON omission; done means the requested zeronull.Date behavior and NULL-string omission are covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.