You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching a list in nestJS, I want to convert each item to dto.
The problem:
However, the conversion works well when doing a detailed search, but the conversion is not applied when doing a list search as shown below.
Instead of participants, the length of participants must be entered in currentParticipantCount, and instead of rinkId, an object containing the id and name taken from the rink collection must be created.
However, the document is entered as is. How do I use it?
I was trying to...
When searching a list in nestJS, I want to convert each item to dto.
The problem:
However, the conversion works well when doing a detailed search, but the conversion is not applied when doing a list search as shown below.
Instead of participants, the length of participants must be entered in currentParticipantCount, and instead of rinkId, an object containing the id and name taken from the rink collection must be created.
However, the document is entered as is. How do I use it?
rental.service.ts
rental.dto.ts
The text was updated successfully, but these errors were encountered: