Skip to content

Bump SonarQube plugin version and use new ApplicationExtension from A…#1435

Merged
Futsch1 merged 18 commits into
mainfrom
sonarQube-gradle
May 24, 2026
Merged

Bump SonarQube plugin version and use new ApplicationExtension from A…#1435
Futsch1 merged 18 commits into
mainfrom
sonarQube-gradle

Conversation

@Futsch1
Copy link
Copy Markdown
Owner

@Futsch1 Futsch1 commented May 22, 2026

…GP 9.0

@Futsch1 Futsch1 mentioned this pull request May 24, 2026
@Futsch1 Futsch1 merged commit 123f2de into main May 24, 2026
15 checks passed
@Futsch1 Futsch1 deleted the sonarQube-gradle branch May 24, 2026 21:35
private val medicineDao: MedicineDao
) : MedicineRepository {
override suspend fun get(medicineId: Int): Medicine? {
override suspend operator fun get(medicineId: Int): Medicine? {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Futsch1 I don't think using the operator for get in repositories is a good idea.

This particular get is not a retrieval from a materialized collection as the operator get is normally used for.

Here each operator get executes a query and returns a freshly-loaded instance which is the opposite of the idiomatic use of operator get.

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