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

supabase / supabase-flutter / 37326960775
92%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2026 02:46PM UTC
Jobs 11
Files 173
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

05 Oct 2026 02:43PM UTC coverage: 91.447% (+0.004%) from 91.443%
37326960775

push

github

web-flow
fix(typegen): suffix members named like a core type so the generated code compiles (#1914)

## Summary

A column, computed field or relation named `int`, `double`, `num` or
`bool` makes `supabase_typegen` emit code that does not compile. The
member takes the name unchanged, and inside the row type and the
namespace class it shadows the core type every sibling member is typed
with.

A table with `num int4` and `price numeric` is enough:

```dart
extension type const ReadingsRow(Map<String, dynamic> _json) implements Object {
  int get num => _json['num'] as int;
  num get price => _json['price'] as num;
}

class Readings {
  static const num = PostgrestColumn<ReadingsRow, int>('num');
  static const price = PostgrestColumn<ReadingsRow, num>('price');
}
```

```
error - Undefined class 'num'. - undefined_class
error - The name 'num' isn't a type, so it can't be used in an 'as' expression. - cast_to_non_type
error - The name 'num' isn't a type, so it can't be used as a type argument. - non_type_as_type_argument
```

A `num` column next to any `float8` column fails the same way, because
the floating conversion is `(_json['ratio'] as num).toDouble()`.

The top level `_TypeNameRegistry` already reserves these four names, but
member names never went through it. This reserves them where members are
claimed, the same way `toJson`, `postgrestBytea` and `postgrestVector`
are:

- the row members, which the column constants and the insert and update
parameters reuse
- the computed field constants
- the relation members, for foreign keys and computed relationships

| Schema object | Before | After |
| -- | -- | -- |
| column `num` | `int get num`, `static const num` | `int get num$`,
`static const num$` |
| computed field `bool` | `static const bool` | `static const bool$` |
| computed relationship `double` | `static const double` | `static const
double$` |
| column `string`, `object`, `list`, `date_time` | unchanged | unchanged
|

Only these four can collide. Memb... (continued)

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

9270 of 10137 relevant lines covered (91.45%)

5.14 hits per line

Jobs
ID Job ID Ran Files Coverage
11 supabase_typegen - 37326960775.11 05 Oct 2026 02:46PM UTC 24
96.22
GitHub Action Run
6 yet_another_json_isolate - 36864123641.6 01 Oct 2026 12:48PM UTC 1
98.44
GitHub Action Run
3 supabase_functions - 37325589602.3 05 Oct 2026 02:34PM UTC 4
96.0
GitHub Action Run
4 supabase_storage - 37325589602.4 05 Oct 2026 02:36PM UTC 9
98.09
GitHub Action Run
10 iceberg - 37325589602.10 05 Oct 2026 02:34PM UTC 6
68.52
GitHub Action Run
1 supabase_common - 36864123641.1 01 Oct 2026 12:48PM UTC 22
87.5
GitHub Action Run
5 supabase - 37325589602.5 05 Oct 2026 02:37PM UTC 18
94.26
GitHub Action Run
9 supabase_flutter - 37325589602.9 05 Oct 2026 02:34PM UTC 15
81.0
GitHub Action Run
8 supabase_auth - 37325589602.8 05 Oct 2026 02:38PM UTC 32
92.07
GitHub Action Run
11 postgrest - 37325589602.11 05 Oct 2026 02:37PM UTC 29
93.41
GitHub Action Run
7 supabase_realtime - 37325589602.7 05 Oct 2026 02:37PM UTC 13
90.67
GitHub Action Run
Source Files on build 37326960775
  • Tree
  • List 173
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37326960775
  • c885dd74 on github
  • Prev Build on main (#37325589602)
  • Next Build on main (#37446858483)
  • 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