Stop tracking generated files

Run make generate in CI lint and test jobs since generated files are
now gitignored. Also include Relay codegen for frontend apps in the
generate target.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-16 15:17:01 +01:00
parent 3e3138f764
commit 807213d384
516 changed files with 134 additions and 263935 deletions

View File

@@ -170,14 +170,6 @@ func Invalidf(ctx context.Context, format string, a ...any) *gqlerror.Error {
return Invalid(ctx, fmt.Errorf(format, a...))
}
func InvalidValidationErrors(ctx context.Context, errs validator.ValidationErrors) gqlerror.List {
gqlErrors := make(gqlerror.List, 0, len(errs))
for _, ve := range errs {
gqlErrors = append(gqlErrors, Invalid(ctx, ve))
}
return gqlErrors
}
func Internal(ctx context.Context) *gqlerror.Error {
return &gqlerror.Error{
Message: "An internal server error occurred. Please try again later.",