Skip to content

refactor: de-abbreviate cond* platform getters to conditional*#1438

Open
spydon wants to merge 3 commits into
chore/realtime-test-first-instead-of-indexfrom
chore/rename-cond-platform-getters
Open

refactor: de-abbreviate cond* platform getters to conditional*#1438
spydon wants to merge 3 commits into
chore/realtime-test-first-instead-of-indexfrom
chore/rename-cond-platform-getters

Conversation

@spydon

@spydon spydon commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Renames the internal cond* platform getters to spell out the abbreviation, per the no-abbreviations convention.

  • condPlatformconditionalPlatform
  • condPlatformVersionconditionalPlatformVersion
  • condRuntimeVersionconditionalRuntimeVersion

These getters live in lib/src/platform_io.dart and lib/src/platform_stub.dart of both supabase and supabase_flutter, and are consumed only by each package's own constants.dart. They are not exported from the public barrels, so this is not a breaking change.

Stacked on #1435.

Spell out the abbreviated 'cond' prefix on the internal platform getters
in supabase and supabase_flutter. These are private lib/src symbols that
are not exported, so the rename is not breaking.
@spydon spydon requested a review from a team as a code owner June 18, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants