• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / go-config / 28018888470
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-no-fix-empty-scalar
DEFAULT BRANCH: master
Ran 23 Jun 2026 10:14AM UTC
Jobs 1
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jun 2026 10:06AM UTC coverage: 85.824%. First build
28018888470

push

github

bigbes
jsonschema: schema-aware null coercion with configurable scalar policy

With ToAny now yielding nil for empty values, validation needs to know
the intended empty shape, which only the schema carries. Add a coercion
pass (coerceNulls) run between ToAny and Validate: it walks the data
alongside the compiled schema (resolving $ref and allOf/anyOf/oneOf) and
rewrites a null into {} where the schema expects an object and [] where
it expects an array. Nullable schemas keep null.

The ambiguous scalar case (string/number/bool) is governed by
NullCoercion: NullLeave (default), NullDrop (treat empty as unset) or
NullZero (typed zero value). Configure it per-validator via
WithNullCoercion, per-build via Builder.WithJSONSchema options or
tarantool.Builder.WithNullCoercion, or globally via DefaultNullCoercion.

100 of 169 new or added lines in 4 files covered. (59.17%)

3929 of 4578 relevant lines covered (85.82%)

114.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
64
56.46
validators/jsonschema/coerce.go
5
96.04
tarantool/builder.go
Jobs
ID Job ID Ran Files Coverage
1 28018888470.1 23 Jun 2026 10:14AM UTC 43
85.82
GitHub Action Run
Source Files on build 28018888470
  • Tree
  • List 43
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d5de7ac0 on github
  • Next Build on bigbes/gh-no-fix-empty-scalar (#28019938860)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc