feat(api): add composite ogen handler for incremental operations
This commit is contained in:
1 parent
0f206bfc29
commit
b2f6e87bfe
6 files changed
+133
-6
No files matched your search
@@ -10,6 +10,7 @@ import (
|
||||
|
||||
"lincodex/backend/config"
|
||||
httpadapter "lincodex/backend/internal/adapter/primary/http"
|
||||
apiadapter "lincodex/backend/internal/adapter/primary/http/api"
|
||||
httpmiddleware "lincodex/backend/internal/adapter/primary/http/middleware"
|
||||
v1 "lincodex/backend/internal/adapter/primary/http/v1"
|
||||
"lincodex/backend/internal/adapter/secondary/postgres"
|
||||
@@ -28,9 +29,11 @@ func initialize(ctx context.Context, config config.Config, logger *slog.Logger)
|
||||
seaweedfs.NewStorage,
|
||||
wire.Bind(new(inbound.Readiness), new(*health.Readiness)),
|
||||
wire.Bind(new(httpmiddleware.RequestMetrics), new(*metrics.Metrics)),
|
||||
wire.Bind(new(apiadapter.Handler), new(*v1.Handler)),
|
||||
newReadiness,
|
||||
metrics.New,
|
||||
newHealthHandler,
|
||||
v1.NewHandler,
|
||||
httpadapter.NewRouter,
|
||||
NewApplication,
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user