Commit 682dd96
authored
## What
Replaces the three `.sdk-parse-ignore` entries for the clear-auth-url
helpers with `@internal` annotations on the declarations, and removes
those entries.
## Why
The SDK capability-matrix symbol extractor now honours `@internal` (from
`package:meta`), see supabase/sdk#54. Before that, the extractor treated
every non-underscore `lib/src` declaration as public API, so the
internal auth-url helpers had to be excluded by path in
`.sdk-parse-ignore`.
`@internal` on the declaration is a better source of truth than a
hand-maintained path list: it lives next to the code, travels with
refactors, and documents intent directly.
## What changed
- `removeAuthParametersFromUrl` (`clear_auth_url_parameters.dart`)
marked `@internal`.
- `clearAuthUrlParameters` in both conditional-import shims
(`clear_auth_url_parameters_web.dart`,
`clear_auth_url_parameters_stub.dart`) marked `@internal`.
- Removed the three entries from `.sdk-parse-ignore`; its header now
points to `@internal` as the preferred mechanism and reserves the file
for paths that cannot carry the annotation (for example generated
sources).
All three symbols are used only within `supabase_flutter`, so
`@internal` produces no cross-package analyzer warnings. Verified
against the updated extractor that the package no longer emits these
symbols while its other 466 public symbols are unchanged.
1 parent e549d39 commit 682dd96
4 files changed
Lines changed: 13 additions & 8 deletions
File tree
- packages/supabase_flutter/lib/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| 6 | + | |
4 | 7 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments