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

Explore mapped-types for creating re-usable DTOs #313

Open
ssciolla opened this issue Jan 31, 2022 · 0 comments
Open

Explore mapped-types for creating re-usable DTOs #313

ssciolla opened this issue Jan 31, 2022 · 0 comments
Labels
API back end Involves changes to the Express application or other server-related files enhancement New feature or request

Comments

@ssciolla
Copy link
Contributor

Some of these properties are repeated from other DTOs. There appear to be ways to build variations on other DTOs using mapped-types (https://docs.nestjs.com/openapi/mapped-types#mapped-types). I think I may leave this the way it is for now, as I think we'll need to reexamine the set of DTOs once PR #247 is completed.

Originally posted by @ssciolla in #301 (comment)

@ssciolla ssciolla added API back end Involves changes to the Express application or other server-related files enhancement New feature or request labels Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API back end Involves changes to the Express application or other server-related files enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant