update wiki links

This commit is contained in:
adlerhurst
2025-08-05 09:52:29 +02:00
parent 5c34808ebf
commit e48c565ab6
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/zitadel/zitadel/backend/v3/storage/database" "github.com/zitadel/zitadel/backend/v3/storage/database"
) )
// Commander is all it needs to implement the [command pattern](https://github.com/zitadel/zitadel/wiki/WIP:-Software-Architecture#command-pattern). // Commander is all it needs to implement the [command pattern](https://github.com/zitadel/zitadel/wiki/Software-Architecture#command-pattern).
// It is the interface all manipulations need to implement. // It is the interface all manipulations need to implement.
// If possible it should also be used for queries. We will find out if this is possible in the future. // If possible it should also be used for queries. We will find out if this is possible in the future.
type Commander interface { type Commander interface {

View File

@@ -10,7 +10,7 @@ import (
) )
// The variables could also be moved to a struct. // The variables could also be moved to a struct.
// I just started with the [singleton pattern](https://github.com/zitadel/zitadel/wiki/WIP:-Software-Architecture#singleton) and kept it like this. // I just started with the [singleton pattern](https://github.com/zitadel/zitadel/wiki/Software-Architecture#singleton) and kept it like this.
var ( var (
pool database.Pool pool database.Pool
// userCodeAlgorithm crypto.EncryptionAlgorithm // userCodeAlgorithm crypto.EncryptionAlgorithm

View File

@@ -8,7 +8,7 @@ import (
) )
// Invoke provides a way to execute commands within the domain package. // Invoke provides a way to execute commands within the domain package.
// It uses the [chain of responsibility](https://github.com/zitadel/zitadel/wiki/WIP:-Software-Architecture#chain-of-responsibility) pattern to handle the command execution. // It uses the [chain of responsibility](https://github.com/zitadel/zitadel/wiki/Software-Architecture#chain-of-responsibility) pattern to handle the command execution.
// The default chain includes logging, tracing, and event publishing. // The default chain includes logging, tracing, and event publishing.
// If you want to invoke multiple commands in a single transaction, you can use the [commandBatch]. // If you want to invoke multiple commands in a single transaction, you can use the [commandBatch].
func Invoke(ctx context.Context, cmd Commander) error { func Invoke(ctx context.Context, cmd Commander) error {