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

supabase / supabase-swift / 32518023541
89%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2026 07:25PM UTC
Jobs 1
Files 104
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

21 Aug 2026 07:21PM UTC coverage: 87.098% (-0.2%) from 87.274%
32518023541

push

github

web-flow
fix(postgrest)!: reject nil filter operands at compile time (#1238)

`Optional` conformed to `PostgrestFilterValue` and rendered `nil` as the
literal text `NULL`, so `eq("email", value: nilString)` compiled and sent
`email=eq.NULL`. Verified against PostgREST 14.15, that is not a no-op: on
an `integer` column it is an HTTP 400, but on a `text` column it returns
HTTP 200 with the row whose value is the string `'null'` — a silently wrong
row rather than an empty result.

`column = NULL` is never true in SQL, so there is no correct query to send.
Rather than translate `nil` into `is.null` behind the caller's back, make it
impossible to express: split out `PostgrestArrayElement` as the weaker
protocol, have `PostgrestFilterValue` refine it, and conform `Optional` to
the base only. Passing an optional to a comparison filter is now a compile
error, while real array columns keep their `NULL` members.

`PostgrestFilterValue` refines the new protocol and supplies a default
implementation, so existing custom conformances keep compiling untouched.

BREAKING CHANGE: `Optional` no longer conforms to `PostgrestFilterValue`.
Use `is(_:value:)` to test for NULL. See V3_MIGRATION.md.

14 of 14 new or added lines in 2 files covered. (100.0%)

19 existing lines in 2 files now uncovered.

9134 of 10487 relevant lines covered (87.1%)

45.23 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
63.98
-4.57% Sources/RealtimeV2/WebSocket/URLSessionWebSocket.swift
2
79.7
-0.75% Sources/Supabase/SupabaseClient.swift
Jobs
ID Job ID Ran Files Coverage
1 32518023541.1 21 Aug 2026 07:25PM UTC 104
87.1
GitHub Action Run
Source Files on build 32518023541
  • Tree
  • List 104
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32518023541
  • 61f6fb44 on github
  • Prev Build on main (#32497212784)
  • Next Build on main (#32518671229)
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