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

supabase / supabase-flutter / 38902895875
92%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2026 12:49PM UTC
Jobs 11
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

16 Oct 2026 12:46PM UTC coverage: 91.992%. Remained the same
38902895875

push

github

web-flow
feat(typegen): non-null view columns from postgrest-typegen 0.6.0 (#1968)

## What

`@supabase/postgrest-typegen` 0.6.0 (bundled by `typegen` 0.3.1) infers
view column nullability from the source column (supabase/sdk#284). A
view column that passes through a `NOT NULL` column, outside the
nullable side of an outer join, is no longer reported as nullable. This
updates `supabase_typegen` to that document.

## Changes

- Regenerated `test/fixtures/generator_metadata.json` on a fresh
`postgres:15` with `postgrest-typegen/v0.6.0`. Eight view columns flip
to non-null: `author_stats.author_id`, `book_prices.id`/`title`,
`book_summaries.id`/`title`/`author_name` and
`book_submissions.title`/`author_name`. Computed columns such as
`count(*)` and `price * 0.9` stay nullable. The release also marks
`latest_book` and `recent_books` as not callable through `/rpc`
(supabase/sdk#272), which changes no generated code.
- View and materialized view columns are never required on insert. The
catalog does not carry the base table default onto the view column, so a
non-null column like `book_prices.id` (an identity on `books`) can still
be omitted when inserting through the view. This matches the TypeScript
generator, which makes every view `Insert` and `Update` field optional.
- Regenerated the goldens: those view columns become `T` on the row and
`PostgrestColumn` instead of `PostgrestNullableColumn`, and their
`setXToNull()` helpers are gone.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Generated types now preserve non-nullable column information for views
and materialized views, while correctly keeping view columns out of
required insert fields.
* Insert and update helpers no longer offer null-setting methods for
columns declared non-nullable.
* Generated types for tables continue to mark non-nullable columns
without defaults as required for inserts.

<!-- end of auto-generated comment: releas... (continued)

5 of 5 new or added lines in 1 file covered. (100.0%)

9638 of 10477 relevant lines covered (91.99%)

5.45 hits per line

Jobs
ID Job ID Ran Files Coverage
11 supabase_typegen - 38902895875.11 16 Oct 2026 12:49PM UTC 6
96.25
GitHub Action Run
9 supabase_functions - 38901557466.9 16 Oct 2026 12:36PM UTC 4
93.28
GitHub Action Run
4 supabase_realtime - 38901557466.4 16 Oct 2026 12:39PM UTC 14
90.92
GitHub Action Run
3 iceberg - 38901557466.3 16 Oct 2026 12:36PM UTC 6
71.32
GitHub Action Run
11 supabase_auth - 38901557466.11 16 Oct 2026 12:40PM UTC 34
92.86
GitHub Action Run
7 supabase - 38901557466.7 16 Oct 2026 12:39PM UTC 17
95.04
GitHub Action Run
3 supabase_common - 38891534378.3 16 Oct 2026 11:07AM UTC 23
87.92
GitHub Action Run
11 yet_another_json_isolate - 38891534378.11 16 Oct 2026 11:07AM UTC 1
98.44
GitHub Action Run
5 supabase_storage - 38901557466.5 16 Oct 2026 12:38PM UTC 9
98.47
GitHub Action Run
10 postgrest - 38901557466.10 16 Oct 2026 12:39PM UTC 32
94.3
GitHub Action Run
6 supabase_flutter - 38901557466.6 16 Oct 2026 12:36PM UTC 15
80.58
GitHub Action Run
Source Files on build 38902895875
  • Tree
  • List 161
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38902895875
  • c9f89d51 on github
  • Prev Build on main (#38901557466)
  • Next Build on main (#38903734440)
  • Delete
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