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

supabase / supabase-swift / 38047074857
91%

Build:
DEFAULT BRANCH: main
Ran 10 Oct 2026 11:09AM UTC
Jobs 1
Files 161
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

10 Oct 2026 11:03AM UTC coverage: 91.301% (-0.02%) from 91.324%
38047074857

push

github

web-flow
fix(postgrest): jsonObject returns JSONValue and JSON comparisons encode their operand (#1501)

jsonObject(_:) kept the receiver's Value, and a JSONValue operand went out in
PostgREST filter form. So jsonObject("a").eq("1") sent eq.1, which PostgREST
reads as the number 1: the filter matched the wrong rows. .string("x") and
.null were 22P02 errors.

jsonObject(_:) now returns a JSONValue expression, which is what -> produces.
PostgrestFilterValue gains a _typedOperand requirement that defaults to
rawValue; JSONValue implements it with the JSON encoding. The typed filters
send _typedOperand, in eq, neq, gt, gte, lt, lte, isDistinct and in; the
untyped builder keeps rawValue.

A value with no wire form (a non-finite JSONValue.double) has a nil
_typedOperand. The filter then carries an .invalid operand, and execute()
throws PostgrestError(kind: .invalidRequest) before the request is built, as
containsJSON already does. No stand-in operand is sent: eq.null matches
JSON-null rows.

Refs SDK-2207

26 of 26 new or added lines in 5 files covered. (100.0%)

11 existing lines in 3 files now uncovered.

12510 of 13702 relevant lines covered (91.3%)

71.15 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
86.73
0.61% Sources/PostgREST/Query/PostgrestEmbeddedScope.swift
3
97.35
-2.65% Sources/Helpers/JSONValue/JSONValue.swift
1
99.32
0.16% Sources/PostgREST/Filters/PostgrestFilter.swift
Jobs
ID Job ID Ran Files Coverage
1 38047074857.1 10 Oct 2026 11:09AM UTC 161
91.3
GitHub Action Run
Source Files on build 38047074857
  • Tree
  • List 161
  • Changed 9
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38047074857
  • 786e153e on github
  • Prev Build on main (#38043002812)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc