Skip to content

refactor: specify schemas for SQLSyntaxSupport implementation#879

Open
jnatten wants to merge 1 commit intomasterfrom
refactor/schema-name-for-sqlobjects
Open

refactor: specify schemas for SQLSyntaxSupport implementation#879
jnatten wants to merge 1 commit intomasterfrom
refactor/schema-name-for-sqlobjects

Conversation

@jnatten
Copy link
Contributor

@jnatten jnatten commented Feb 19, 2026

@jnatten jnatten requested a review from a team February 19, 2026 10:36
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch 3 times, most recently from a24a5ab to a1c0614 Compare February 20, 2026 08:25
@jnatten jnatten force-pushed the refactor/move-learningsteps-into-path-table branch from 6b50cc7 to a02369a Compare February 20, 2026 09:11
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch 2 times, most recently from cbdf57d to 0c0f312 Compare February 20, 2026 09:17
@jnatten jnatten force-pushed the refactor/move-learningsteps-into-path-table branch from a02369a to 9b8e5a2 Compare February 20, 2026 10:56
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch from 0c0f312 to 0d9f125 Compare February 20, 2026 10:56
@jnatten jnatten force-pushed the refactor/move-learningsteps-into-path-table branch from 9b8e5a2 to f8f4ffa Compare February 20, 2026 11:00
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch from 0d9f125 to a5b9e8e Compare February 20, 2026 11:00
@jnatten jnatten force-pushed the refactor/move-learningsteps-into-path-table branch from f8f4ffa to b3a0393 Compare February 23, 2026 09:13
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch 2 times, most recently from eab360b to 7f50042 Compare February 23, 2026 13:01
This patch refactors SQLSyntaxSupport objects to classes so that they can
be instanciated with props specifying the schema.

This is to fix a problem where a multiple schemas could define the same tablename
and cause conflicts.
@jnatten jnatten force-pushed the refactor/move-learningsteps-into-path-table branch from 7ba587c to 5d87a79 Compare February 24, 2026 07:39
@jnatten jnatten force-pushed the refactor/schema-name-for-sqlobjects branch from 7f50042 to 8887c5f Compare February 24, 2026 07:39
Base automatically changed from refactor/move-learningsteps-into-path-table to master February 26, 2026 09:12
Copy link
Contributor

@amatho amatho left a comment

Choose a reason for hiding this comment

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

En liten pirkorama, men ellers LGTM


object PublishedConcept extends SQLSyntaxSupport[Concept] {
override val tableName = "publishedconceptdata"
class PublishedConcept(using props: Props) extends SQLSyntaxSupport[Concept] {
Copy link
Contributor

Choose a reason for hiding this comment

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

Bruke samme navngiving?

Suggested change
class PublishedConcept(using props: Props) extends SQLSyntaxSupport[Concept] {
class DBPublishedConcept(using props: Props) extends SQLSyntaxSupport[Concept] {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ja jeg er enig i det jeg altså, i fix

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.

3 participants