Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Jooq usage #3270

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Cleanup Jooq usage #3270

merged 1 commit into from
Jan 22, 2024

Conversation

jnsrnhld
Copy link
Collaborator

Das ist ein No-Op PR, ich habe nur etwas aufgeräumt hinsichtlich der JOOQ-API-Nutzung.

Copy link
Collaborator

@awildturtok awildturtok left a comment

Choose a reason for hiding this comment

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

Ich fand das meiste vorher ehrlich gesagt lesbarer, was löst du damit aus API sicht?

@jnsrnhld
Copy link
Collaborator Author

Hinsichtlich der Lesbarkeit stimme ich dir teilweise zu, allerdings war es vorher teilweise keine saubere API Nutzung.

  1. Teilweise war das Variable-Binding nicht wie vorgesehen per {0}, {1} ... sondern per Format-String
  2. Keywords wurden nicht mit DSL.keyword() markiert, entsprechend kann deren Rendering auch nicht von JOOQ kontrolliert werden
  3. DSL.sql() wurde unnötigerweise an einigen Stellen verwendet

@jnsrnhld jnsrnhld merged commit 79190a2 into develop Jan 22, 2024
6 checks passed
@jnsrnhld jnsrnhld deleted the sql/refactoring/cleanup-jooq-usage branch January 22, 2024 09:53
awildturtok pushed a commit that referenced this pull request Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants