WIP: convert GORM to sqlc, for jobs/tasks #104304
No reviewers
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#104304
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "sqlc-task"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR tracks the work in progress for #104305. GORM is gradually replaced with sqlc.
What appears to be a single GORM query may be split up into several sqlc queries: one more minimal query that should actually be the only functionality of that particular function, and one or two more to keep the interface & the returned data the same for now.
This is a big enough change in itself, so the goal is to replace GORM with sqlc without changing the internal interface of the persistence service, or Flamenco's external API. This means that there is some (in the long run) unnecessary creation of GORM structs to return the data; this can be handled in a followup PR.
WIP: convert GORM to SQLC, for jobs/tasksto WIP: convert GORM to sqlc, for jobs/tasksPull request closed