-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support request for user options to be passed to converter #28
Comments
Ok, interesting.
What do you think? |
I actually thought about this approach, but It would result in implementing whatever logic you wish for both in the interception/controller layer and the convectors - especially in cases were the conversion is not direct request based it wouldn't be helpful, |
Usually the version of the API is in the URL or in a http header. You can get these info from the Request. Anyway, I've got your point. It's true,
|
Any news about this ? |
Nope, still an open point. |
Current convert function AK convert(source: S): T Does not enable passing user options to the convert function
For example when using class-transformer groups & version are part of the optional fields that may be very useful especially "version" -> the convert function behavior should change as per Version ( as DTO or Entity might change )
The text was updated successfully, but these errors were encountered: