Skip to content

SqlFragment no longer implements CharSequence - #1086

Merged
labkey-matthewb merged 1 commit into
developfrom
fb_sqlfragment_not_implements
Oct 16, 2026
Merged

labkey-matthewb merged 1 commit into
developfrom
fb_sqlfragment_not_implements

Conversation

@labkey-matthewb

Copy link
Copy Markdown
Contributor

Rationale

We "disabled" auto-convert from SQLFragment to String by poisoning .toString(). However, SQLFragment implements CharSequence. That enables some unexpected/ambiguous usages. For instance a ? SQLFragment() : String) unexpectedly casts to CharSequence which may not be correct.

Related Pull Requests

Changes

@labkey-matthewb
labkey-matthewb merged commit e10385d into develop Oct 16, 2026
6 checks passed
@labkey-matthewb
labkey-matthewb deleted the fb_sqlfragment_not_implements branch October 16, 2026 00:35
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