Skip to content

refactor: rename recipe classes for clearer semantics#29

Merged
mhagnumdw merged 4 commits into
mainfrom
rename-recipes
Apr 26, 2026
Merged

refactor: rename recipe classes for clearer semantics#29
mhagnumdw merged 4 commits into
mainfrom
rename-recipes

Conversation

@mhagnumdw
Copy link
Copy Markdown
Owner

@mhagnumdw mhagnumdw commented Apr 26, 2026

Rename recipe classes to better describe their detection mechanism.

BREAKING CHANGE: Update your configurations accordingly. See CHANGELOG.md for the migration table.

Rename recipe classes to better describe their detection mechanism:
- FormatSqlBlockRecipe -> FormatSqlTextBlockByAnnotation
  (detects SQL in Text Blocks via annotations like @hql, @SQL, @query)

- FormatSqlTextBlockRecipe -> FormatSqlTextBlockByLanguageInjection
  (detects SQL in Text Blocks via // language=sql comment)

BREAKING CHANGE: Update your configurations accordingly.
See CHANGELOG.md for the migration table.
@sonarqubecloud
Copy link
Copy Markdown

@mhagnumdw mhagnumdw merged commit dd41bda into main Apr 26, 2026
2 checks passed
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.

1 participant