refactor to use app package instead of service

refactor app to be composable
This commit is contained in:
Robin Olsen
2026-02-28 23:30:31 +01:00
parent ba4d3df669
commit aabce0b0b2
56 changed files with 385 additions and 279 deletions

View File

@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/LazyBachelor/LazyPM/internal/utils"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
)
const description = `You are tasked with creating a new issue in the project management system.
@@ -56,7 +56,7 @@ func (t *CreateIssueTask) Setup(ctx context.Context) error {
}
func (t *CreateIssueTask) Validate(ctx context.Context) ValidationFeedback {
expect := utils.NewExpector()
expect := check.NewExpector()
issues, err := FetchIssues(ctx, t.app, t.setupIssue)
if err != nil {