Pushing errors back to frontend
All checks were successful
Music Collection CI Workflow / test (./frontend) (push) Successful in 37s
Music Collection CI Workflow / test (./backend) (push) Successful in 34s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 51s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m52s
Music Collection CI Workflow / deploy (push) Successful in 24s
All checks were successful
Music Collection CI Workflow / test (./frontend) (push) Successful in 37s
Music Collection CI Workflow / test (./backend) (push) Successful in 34s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 51s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m52s
Music Collection CI Workflow / deploy (push) Successful in 24s
This commit is contained in:
parent
2214fa32f5
commit
6a2c451105
@ -1,5 +1,9 @@
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { UnprocessableEntityException, ValidationError, ValidationPipe } from '@nestjs/common';
|
||||
import {
|
||||
UnprocessableEntityException,
|
||||
ValidationError,
|
||||
ValidationPipe,
|
||||
} from '@nestjs/common';
|
||||
import { AppModule } from './app.module';
|
||||
|
||||
async function bootstrap() {
|
||||
@ -22,7 +26,7 @@ async function bootstrap() {
|
||||
validationErrors: ValidationError[],
|
||||
parentProperty = '',
|
||||
): Array<{ property: string; errors: string[] }> => {
|
||||
const errors : any[] = [];
|
||||
const errors: Array<{ property: string; errors: string[] }> = [];
|
||||
|
||||
const getValidationErrorsRecursively = (
|
||||
validationErrors: ValidationError[],
|
||||
|
Loading…
x
Reference in New Issue
Block a user