Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
59 views

Everything works perfectly fine for flat structures. However I can't get the Author serialized in underneath API call on /api/books. They do describe Recursion over here: https://symfony.com/doc/...
Best practices
0 votes
1 replies
61 views

I’m working on a .NET 9 Clean Architecture solution with the following structure: API – ASP.NET Core Web API (.NET 9) Application – Application services and business logic Domain – Core domain ...
0 votes
1 answer
243 views

I'm working on a high-performance ASP.NET Core Web API where each request can return hundreds of entity records. Each entity includes multiple navigation properties and nested objects. Currently, I’m ...
3 votes
1 answer
101 views

I’m refactoring my Laravel application to follow a clean architecture approach with clear separation of concerns: Controller → Service → Repository The Controller handles the HTTP layer,the Service ...
0 votes
1 answer
64 views

I'm working on a Spring Boot + Thymeleaf application where I have an edit page. In my controller, I want to use different DTOs for the GET and POST methods: ResponseDto for displaying data and ...
0 votes
0 answers
60 views

I'm researching that can I use i18n for the messages of validation exceptions. For example: create-user.dto.ts export default class createUserDto { @MinLength(5) @IsString() name: string; }...
1 vote
1 answer
64 views

Assuming I have these three DTO's data class CountryDTO( val name: String, val isoAlpha3: String, val subContinent: SubContinentDto, val continent: ContinentDto ) data class ...
1 vote
1 answer
34 views

FastifyAdapter bypasses global ValidationPipe for tz, resulting in 400 whitelistValidation error in production builds Description I’m experiencing an issue where my global ValidationPipe is correctly ...
0 votes
4 answers
262 views

I'm a junior developer and started my first job as a developer and have a question regarding DTO and Model. Consider this code snippet @Override public ResponseEntity<List<...
-1 votes
2 answers
64 views

I have this DTO: import { Expose, Type } from 'class-transformer'; import { UserDto } from '../../../admin/users/dtos/user.dto'; export class CompanyDto { constructor(partial: Partial<CompanyDto&...
0 votes
0 answers
97 views

Return in controller shows "mostly" correct data but when returning it on client side is null. I use Angular 19, .NET Core and EF Core. The mapping seems to be selective. I create an Article ...
0 votes
1 answer
68 views

I'm building an accounting application using NestJS. I have a DTO called CreateTransactionDto, and I want certain fields to be required or forbidden based on the value of transactionType. For example: ...
0 votes
1 answer
167 views

I've been trying to get away from using AutoMapper, since everyone seems to think it's the devil. Because of this, I've been putting all of my mapping into the DBO and DTO models that I'm handing back ...
1 vote
1 answer
73 views

I ́m trying to validate the body of a route on NestJS and i ́m using the class-validator package, my route is receiving the data as multipat because this route also accepts a file upload. Here is the ...
-4 votes
1 answer
79 views

I have an API response which looks like this { "apiResponse": { "successRequestList": { "rides": { "bike": null, "cars" :{ ...

15 30 50 per page
1
2 3 4 5
...
144

AltStyle によって変換されたページ (->オリジナル) /