Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 7b164cd

Browse files
authored
feat(rt): project repository (#10789)
# Which Problems Are Solved Add projects to the relational tables # How the Problems Are Solved - Define table migrations - Define and implement Project and Project Role repositories. - Provide projection handlers to populate the relational tables. # Additional Changes - Statement Builder now has a constructor which allows setting of a base query with arguments. - Certain operations, like Get, Update and Delete require the Primary Key to be set as conditions. However, this requires knowledge of the implementation and table definition. This PR proposes an additional condition for repositories: `PrimaryKeyCondition`. This gives clarity on the required IDs for these operations. - Added couple of helpers to the repository package, to allow more DRY code. - getOne / getMany: generic functions for query execution and scanning. - checkRestrictingColumns, checkPkCondition: simplify condition checking, instead of using ladders of conditionals. - Added a couple of helpers to the repository test package: - Transaction, savepoint and rollback helpers. - Create instance and organization helpers for objects that depend on them (like projects). # Additional Context - after zitadel/zitadel#10809 - closes #10765
1 parent 5b3e7fa commit 7b164cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

acceptance/oidcrp/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020

2121
"github.com/google/uuid"
2222
"github.com/sirupsen/logrus"
23-
2423
"github.com/zitadel/logging"
2524
"github.com/zitadel/oidc/v3/pkg/client/rp"
2625
httphelper "github.com/zitadel/oidc/v3/pkg/http"

0 commit comments

Comments
 (0)