Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add serialisation for request response #54

Open
Jajared opened this issue Oct 1, 2024 · 1 comment
Open

Add serialisation for request response #54

Jajared opened this issue Oct 1, 2024 · 1 comment
Assignees

Comments

@Jajared
Copy link

Jajared commented Oct 1, 2024

Feature: Serialisation

Description

Fortunately (or unfortunately), the backend can still include many improvements for better adherence to type safety. For example, there may be certain instances where we do not want to return certain attributes (such as passwords). While the hacky way now is to label as undefined, nestJS actually offers serialisation which helps to format response objects before sending back to the client. This way, it ensures structured and consistent response.
Refer to: NestJs Serialisation

@Jajared Jajared added enhancement New feature or request backend labels Oct 1, 2024
@Jajared
Copy link
Author

Jajared commented Oct 1, 2024

For now, optional

@Jajared Jajared added the p.low Low Priority label Oct 1, 2024
@evanyan13 evanyan13 changed the title Add serialisation for request response MS3: BE Add serialisation for request response Oct 2, 2024
@evanyan13 evanyan13 changed the title MS3: BE Add serialisation for request response Add serialisation for request response Oct 2, 2024
@evanyan13 evanyan13 added nice-to-have and removed enhancement New feature or request labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants