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
password and/or other sensitive data is not returned in results
controller should return an instance of a dto class. You could approach this by using the automation that class-transformer provides in this example https://salwoch.hashnode.dev/how-to-serialize-responses-in-nestjs . If you go in this route, use the existing returnDtos instead of the entities
Endpoints:
Register
Get user
Profile
The text was updated successfully, but these errors were encountered:
This ticket may simply require making sure that the data returned by back end doesn't return sensitive data like passwords, etc.
reference -> #92 (comment)
https://automapperts.netlify.app/docs/introduction/what-why/
needs a bit of research
not sure i see the downside of writing the DTO object (which already has it's shape enforced by the DTO (used at runtime))
but worth a look
if so clean up of all services needed
Acceptance criteria:
class-transformer
provides in this example https://salwoch.hashnode.dev/how-to-serialize-responses-in-nestjs . If you go in this route, use the existing returnDtos instead of the entitiesThe text was updated successfully, but these errors were encountered: